SPECS: gcc.spec Call SOURCE1 via perl so it will work even if source file d...

arekm arekm at pld-linux.org
Fri Jun 27 22:36:22 CEST 2008


Author: arekm                        Date: Fri Jun 27 20:36:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
Call SOURCE1 via perl so it will work even if source file doesn't have executable bit set.

---- Files affected:
SPECS:
   gcc.spec (1.545 -> 1.546) 

---- Diffs:

================================================================
Index: SPECS/gcc.spec
diff -u SPECS/gcc.spec:1.545 SPECS/gcc.spec:1.546
--- SPECS/gcc.spec:1.545	Mon Jun 23 17:12:28 2008
+++ SPECS/gcc.spec	Fri Jun 27 22:36:16 2008
@@ -1529,7 +1529,7 @@
 %endif
 	%{?with_objc:libobjc.la};
 do
-	%{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
+	%{__perl} %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/$f %{_libdir} > $RPM_BUILD_ROOT%{_libdir}/$f.fixed
 	mv $RPM_BUILD_ROOT%{_libdir}/$f{.fixed,}
 done
 %if %{with multilib}
@@ -1541,7 +1541,7 @@
 	%{?with_java:libffi.la} \
 	%{?with_objc:libobjc.la};
 do
-	%{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
+	%{__perl} %{SOURCE1} $RPM_BUILD_ROOT%{_libdir32}/$f %{_libdir32} > $RPM_BUILD_ROOT%{_libdir32}/$f.fixed
 	mv $RPM_BUILD_ROOT%{_libdir32}/$f{.fixed,}
 done
 %endif
@@ -2143,6 +2143,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.546  2008/06/27 20:36:16  arekm
+Call SOURCE1 via perl so it will work even if source file doesn't have executable bit set.
+
 Revision 1.545  2008/06/23 15:12:28  pluto
 - branch diff updated, fixes major ia32 bug (kernel-wrong-code).
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gcc.spec?r1=1.545&r2=1.546&f=u



More information about the pld-cvs-commit mailing list