fedora-rpmdevtools rpmdevtools.spec, 1.5, 1.6 spectemplate-perl.spec, 1.13, 1.14

Ville Skytta (scop) fedora-extras-commits at redhat.com
Thu Jul 20 17:46:36 UTC 2006


Author: scop

Update of /cvs/fedora/fedora-rpmdevtools
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12516

Modified Files:
	rpmdevtools.spec spectemplate-perl.spec 
Log Message:
Mark things that are not needed for noarch module packages in the Perl spec template.


Index: rpmdevtools.spec
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/rpmdevtools.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- rpmdevtools.spec	19 Jul 2006 21:37:06 -0000	1.5
+++ rpmdevtools.spec	20 Jul 2006 17:46:34 -0000	1.6
@@ -112,6 +112,10 @@
 
 
 %changelog
+* Thu Jul 20 2006 Ville Skyttä <ville.skytta at iki.fi>
+- Mark things that are not needed for noarch module packages in the Perl
+  spec template.
+
 * Wed Jul 19 2006 Ville Skyttä <ville.skytta at iki.fi>
 - Move option arguments to "find" before non-option ones in Perl spec template.
 - Drop python-abi dependency from Python spec template (#189947).


Index: spectemplate-perl.spec
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/spectemplate-perl.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- spectemplate-perl.spec	19 Jul 2006 16:24:28 -0000	1.13
+++ spectemplate-perl.spec	20 Jul 2006 17:46:34 -0000	1.14
@@ -21,6 +21,7 @@
 
 
 %build
+# Remove OPTIMIZE=... from noarch packages (unneeded)
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
@@ -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 next line from noarch packages (unneeded)
 find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*




More information about the fedora-extras-commits mailing list