SPECS: CocoR.spec - fixed compilation

baggins baggins at pld-linux.org
Sat Dec 10 00:22:08 CET 2005


Author: baggins                      Date: Fri Dec  9 23:22:08 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed compilation

---- Files affected:
SPECS:
   CocoR.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/CocoR.spec
diff -u SPECS/CocoR.spec:1.9 SPECS/CocoR.spec:1.10
--- SPECS/CocoR.spec:1.9	Sun Sep 11 18:38:38 2005
+++ SPECS/CocoR.spec	Sat Dec 10 00:22:02 2005
@@ -8,6 +8,7 @@
 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
@@ -18,14 +19,15 @@
 
 %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
@@ -54,6 +56,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/12/09 23:22:02  baggins
+- fixed compilation
+
 Revision 1.9  2005/09/11 16:38:38  darekr
 - missing dir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/CocoR.spec?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list