- added opt patch, pass optflags
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 5 Feb 2003 12:21:30 +0000 (12:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ccdoc.spec -> 1.4

ccdoc.spec

index 0de5191..8c9d786 100644 (file)
@@ -7,7 +7,8 @@ License:        Freely distributable
 Group:         Development/Tools
 Source0:       http://www.joelinoff.com/ccdoc_old/%{name}_v07a_src_taz.exe
 Source1:       ctf2xml.tar.gz
-Patch0:                ccdoc_v07a.medoosa.patch
+Patch0:                %{name}_v07a.medoosa.patch
+Patch1:                %{name}-opt.patch
 URL:           http://www.joelinoff.com/ccdoc/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -30,10 +31,12 @@ tar xfz %{SOURCE1}
 cd ../../ccdoc_dev
 perl tools/ccdoc_pc2unix.pl
 cd ..
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 cd ccdoc_dev
+OPTFLAGS="%{rpmcflags}"; export OPTFLAGS
 perl tools/ccdoc_bld.pl
 
 %{__make} -C ccdoc/ctf2xml
This page took 0.437275 seconds and 4 git commands to generate.