rpms/m2vmp2cut/devel m2vmp2cut.spec,1.2,1.3

Göran Uddeborg goeran at rpmfusion.org
Tue Feb 15 22:03:07 CET 2011


Author: goeran

Update of /cvs/free/rpms/m2vmp2cut/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv1392

Modified Files:
	m2vmp2cut.spec 
Log Message:
The old style of perl removals went into the prep section.



Index: m2vmp2cut.spec
===================================================================
RCS file: /cvs/free/rpms/m2vmp2cut/devel/m2vmp2cut.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- m2vmp2cut.spec	15 Feb 2011 20:59:32 -0000	1.2
+++ m2vmp2cut.spec	15 Feb 2011 21:03:07 -0000	1.3
@@ -30,15 +30,8 @@
 # % filter_setup
 
 # However, because of bug http://bugzilla.rpmfusion.org/show_bug.cgi?id=1580
-# that doesn't work.  Until fixed, I'll revert to the old style of exclusion.
-cat << \EOF > %name-req
-#!/bin/sh
-%__perl_requires $* |\
-sed -e '/perl(%name)/d'
-EOF
-
-%global __perl_requires %_builddir/%name-%version-dev/%name-req
-chmod +x %__perl_requires
+# that doesn't work.  Until fixed, I'll revert to the old style of exclusion
+# at the end of the prep section.
 
 
 %description
@@ -72,6 +65,17 @@
 # Preserve timestamps when installing
 %patch3
 
+# Old style removal of perl requirements.
+cat << \EOF > %name-req
+#!/bin/sh
+%__perl_requires $* |\
+sed -e '/perl(%name)/d'
+EOF
+
+%global __perl_requires %_builddir/%name-%version-dev/%name-req
+chmod +x %__perl_requires
+
+
 %build
 unset CCACHE_UMASK
 make %{?_smp_mflags} CFLAGS='%{optflags} $(LF_OPTS)'



More information about the rpmfusion-commits mailing list