rpms/gprolog/F-7 gprolog.spec,1.7,1.8

Jochen Schmitt (s4504kr) fedora-extras-commits at redhat.com
Mon May 28 16:13:05 UTC 2007


Author: s4504kr

Update of /cvs/extras/rpms/gprolog/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8995

Modified Files:
	gprolog.spec 
Log Message:
Add PPC arch, use unmod. optflags


Index: gprolog.spec
===================================================================
RCS file: /cvs/extras/rpms/gprolog/F-7/gprolog.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gprolog.spec	24 May 2007 18:37:19 -0000	1.7
+++ gprolog.spec	28 May 2007 16:12:30 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           gprolog
 Version:	1.3.0
-Release:	3%{?dist}
+Release:	8%{?dist}
 Summary: 	GNU Prolog is a free Prolog compiler
 
 Group: 		Development/Languages
@@ -56,19 +56,26 @@
 
 # gprolog only acccept -O0 and don't like -fomit-frame-pointer
 
-# CFLG="$(echo $RPM_OPT_FLAGS | sed -e "s/\-O2/-O0/" | \
-#                              sed -e "s/\-fomit-frame-pointer//")"
-
-CFLG="$RPM_OPT_FLAGS"
+#CFLG="$(echo $RPM_OPT_FLAGS | sed -e "s/\-O2/-O0/" | \
+#                            sed -e "s/\-fomit-frame-pointer//")"
 
+CFLG=$RPM_OPT_FLAGS
 # sed -i -e "s:TXT_FILES      = @TXT_FILES@:TXT_FILES=:" Makefile.in
 ./configure \
        --with-install-dir=$RPM_BUILD_ROOT%{_libdir}/gprolog-%{version} \
        --without-links-dir --without-examples-dir \
-       --disable-fast-call --with-doc-dir=dist-doc \
-       --with-c-flags="$CFLG"
-make %{?_smp_mflags} 
+       --with-doc-dir=dist-doc \
+       --with-c-flags="$RPM_OPT_FLAGS"
+
+# _smp_flags seems to make trouble
+make 
 
+# %check
+# cd src
+#
+# export PATH=$RPM_BUILD_ROOT%{_bindir}:$PATH
+#
+# make check
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -117,8 +124,10 @@
 
 
 %changelog
-* Thu May 24 2007 Jochen Schmitt <Jochen herr-schmitt de> 1.3.0-3
+* Thu May 24 2007 Jochen Schmitt <Jochen herr-schmitt de> 1.3.0-8
 - Include the PPC arch to build
+- Remove _smp_mflags becouse is make trouble
+- Used unmodified optflags
 
 * Sun Mar 25 2007 Jochen Schmitt <Jochen herr-schmitt de> 1.3.0-1
 - New upstream version




More information about the fedora-extras-commits mailing list