SPECS: template-perl.spec - shebang fix sample

glen glen at pld-linux.org
Tue Apr 7 23:19:38 CEST 2009


Author: glen                         Date: Tue Apr  7 21:19:38 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- shebang fix sample

---- Files affected:
SPECS:
   template-perl.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/template-perl.spec
diff -u SPECS/template-perl.spec:1.45 SPECS/template-perl.spec:1.46
--- SPECS/template-perl.spec:1.45	Sat Dec 29 02:07:37 2007
+++ SPECS/template-perl.spec	Tue Apr  7 23:19:33 2009
@@ -52,6 +52,9 @@
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
 
+# fix #!/usr/bin/env perl -w -> #!/usr/bin/perl:
+%{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' tofu
+
 %build
 # Don't use pipes here: they generally don't work. Apply a patch.
 %{__perl} Makefile.PL \
@@ -89,6 +92,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2009/04/07 21:19:33  glen
+- shebang fix sample
+
 Revision 1.45  2007/12/29 01:07:37  glen
 - pass CC
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/template-perl.spec?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list