SPECS: ExtSub.spec - added -flags patch (pass CC and FLAGS)

darekr darekr at pld-linux.org
Sun Jan 21 18:33:35 CET 2007


Author: darekr                       Date: Sun Jan 21 17:33:35 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -flags patch (pass CC and FLAGS)

---- Files affected:
SPECS:
   ExtSub.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/ExtSub.spec
diff -u SPECS/ExtSub.spec:1.4 SPECS/ExtSub.spec:1.5
--- SPECS/ExtSub.spec:1.4	Mon May 26 18:24:18 2003
+++ SPECS/ExtSub.spec	Sun Jan 21 18:33:30 2007
@@ -9,6 +9,7 @@
 Source0:	http://sites.inka.de/risctaker/VOBSub/%{name}.tgz
 # Source0-md5:	430edb8011e4a921aae8a1769ac98f36
 URL:		http://sites.inka.de/risctaker/VOBSub/
+Patch0:		%{name}-flags.patch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -19,9 +20,12 @@
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	FLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -43,6 +47,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/01/21 17:33:30  darekr
+- added -flags patch (pass CC and FLAGS)
+
 Revision 1.4  2003/05/26 16:24:18  malekith
 - massive attack: adding Source-md5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ExtSub.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list