jjames pushed to gap (f21). "Fix gac compiler flags for dynamic objects."

notifications at fedoraproject.org notifications at fedoraproject.org
Wed May 20 21:27:13 UTC 2015


From 5e34b7abb1b426e805551b679e06fe7309c59b41 Mon Sep 17 00:00:00 2001
From: Jerry James <loganjerry at gmail.com>
Date: Wed, 20 May 2015 14:13:34 -0600
Subject: Fix gac compiler flags for dynamic objects.


diff --git a/gap.spec b/gap.spec
index 12f9bce..1ecfe75 100644
--- a/gap.spec
+++ b/gap.spec
@@ -6,7 +6,7 @@
 
 Name:           gap
 Version:        %(sed -r "s/r|p/./g" <<< %upstreamver)
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Computational discrete algebra
 
 License:        GPLv2+
@@ -126,7 +126,7 @@ Both syntax highlighting and indentation are supported.
 %patch4
 
 # Replace the CFLAGS and find the math functions
-sed -re "s|(gp_cv_prog_cc_cdynoptions=)\"-fpic -Wall -O2|\1\"\$RPM_OPT_FLAGS -fPIC -D_FILE_OFFSET_BITS=64 -DSYS_DEFAULT_PATHS='\"%{gapdir}\"'|" \
+sed -re "s|(gp_cv_prog_cc_cdynoptions=)\"-fPIC -Wall -O2|\1\"\$RPM_OPT_FLAGS -fPIC|" \
     -e "s|(gp_cv_prog_cc_cdynlinking=)\"-shared -g[[:digit:]]*|\1\"\$RPM_LD_FLAGS -shared|" \
     -e '/log2 log10/iLIBS="-lm $LIBS"' \
     -i cnf/configure.out
@@ -338,6 +338,9 @@ make testinstall
 %{_datadir}/vim/vimfiles/syntax/gap.vim
 
 %changelog
+* Wed May 20 2015 Jerry James <loganjerry at gmail.com> - 4.7.7-2
+- Fix gac compiler flags for dynamic objects
+
 * Mon Feb 16 2015 Jerry James <loganjerry at gmail.com> - 4.7.7-1
 - New upstream release
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gap.git/commit/?h=f21&id=5e34b7abb1b426e805551b679e06fe7309c59b41


More information about the scm-commits mailing list