From a54380dce72c91efeff740c9b15e96d69d57aa29 Mon Sep 17 00:00:00 2001
From: Jerry James <loganjerry(a)gmail.com>
Date: Oct 01 2017 02:32:26 +0000
Subject: Build with giac support.
Also:
- Add --disable-silent-rules to configure invocation.
- Explicitly use python 2 until we are ready to switch to python 3.
---
diff --git a/pynac.spec b/pynac.spec
index 933e577..ddc6db3 100644
--- a/pynac.spec
+++ b/pynac.spec
@@ -1,8 +1,6 @@
-%{!?pyver: %global pyver %(%{__python} -c "import sys ;
print(sys.version[:3])")}
-
Name: pynac
Version: 0.7.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Manipulation of symbolic expressions
Group: Development/Languages
License: GPLv2+
@@ -11,8 +9,9 @@ Source0:
http://www.sagemath.org/packages/upstream/pynac/%{name}-%{versio
BuildRequires: factory-devel
BuildRequires: flint-devel
+BuildRequires: giac-devel
BuildRequires: gmp-devel
-BuildRequires: python-devel
+BuildRequires: python2-devel
%description
@@ -40,8 +39,8 @@ Headers and libraries for developing with %{name}.
%setup -q
%build
-export CXXFLAGS="%{optflags} -I%{_includedir}/python%{pyver}"
-%configure --disable-static
+export CPPFLAGS="-I%{_includedir}/python%{python2_version}"
+%configure --disable-static --disable-silent-rules
make %{?_smp_mflags}
@@ -69,6 +68,11 @@ rm -f %{buildroot}%{_libdir}/*.la
%changelog
+* Sat Sep 30 2017 Jerry James <loganjerry(a)gmail.com> - 0.7.5-4
+- Build with giac support
+- Add --disable-silent-rules to configure invocation
+- Explicitly use python 2 until we are ready to switch to python 3
+
* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.7.5-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
https://src.fedoraproject.org/rpms/pynac/c/a54380dce72c91efeff740c9b15e96...