From c8c7fb838d0ed30d41f738c849a5ffad9340c890 Mon Sep 17 00:00:00 2001
From: Jerry James <loganjerry(a)gmail.com>
Date: Oct 01 2017 02:39:30 +0000
Subject: Only BR giac-devel on supported architectures
---
diff --git a/pynac.spec b/pynac.spec
index ddc6db3..6e2c050 100644
--- a/pynac.spec
+++ b/pynac.spec
@@ -9,10 +9,13 @@ Source0: http://www.sagemath.org/packages/upstream/pynac/%{name}-%{versio
BuildRequires: factory-devel
BuildRequires: flint-devel
-BuildRequires: giac-devel
BuildRequires: gmp-devel
BuildRequires: python2-devel
+%ifnarch aarch64 %{power64} s390x
+BuildRequires: giac-devel
+%endif
+
%description
Pynac is a derivative of the C++ library GiNaC, which allows manipulation of
@@ -69,7 +72,7 @@ rm -f %{buildroot}%{_libdir}/*.la
%changelog
* Sat Sep 30 2017 Jerry James <loganjerry(a)gmail.com> - 0.7.5-4
-- Build with giac support
+- Build with giac support on supported architectures
- Add --disable-silent-rules to configure invocation
- Explicitly use python 2 until we are ready to switch to python 3
https://src.fedoraproject.org/rpms/pynac/c/c8c7fb838d0ed30d41f738c849a5ffad…