- fixed compilation
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 9 Dec 2005 23:22:02 +0000 (23:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    CocoR.spec -> 1.10

CocoR.spec

index 9d45188..13cb116 100644 (file)
@@ -7,6 +7,7 @@ Group:          Development/Tools
 License:       unknown
 Source0:       ftp://cs.ru.ac.za/pub/coco/cocorc15.tgz
 # Source0-md5: 843dcb81ac549931f5437f143a15349c
+Patch0:                %{name}-compile.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -17,14 +18,15 @@ Generator analizator
 
 %prep
 %setup -q -c
+%patch0 -p1
 
 %build
 export CRFRAMES=`pwd`/frames
 uudecode dos2unix.uue
 chmod +x dos2unix.sh
 ./dos2unix.sh unix.mk
-%{__make} -f unix.mk dos2unix CFLAGS="%{rpmcflags} -I../cplus2"
-%{__make} -f unix.mk linux CFLAGS="%{rpmcflags} -I../cplus2"
+%{__make} -f unix.mk dos2unix OPTFLAGS="%{rpmcflags}"
+%{__make} -f unix.mk linux OPTFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.037914 seconds and 4 git commands to generate.