Rex Dieter wrote:
Jason L Tibbitts III wrote:
--- spectemplate-perl.spec-orig 2006-07-19 09:44:04.621760113 -0500
+++ spectemplate-perl.spec 2006-07-19 09:44:34.674527337 -0500
@@ -29,6 +30,7 @@
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+# Remove the following line for noarch packages
+%ifarch noarch
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+%endif
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
Oops, make the %ifarch -> %ifnarch
-- Rex
--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging