[qepcad-B] Singular is currently available for x86 architectures only.

Jerry James jjames at fedoraproject.org
Sat Feb 15 18:16:04 UTC 2014


commit 69fa9c29ffccb2ca79c3ac2b15e3ebfecd1a0f29
Author: Jerry James <loganjerry at gmail.com>
Date:   Sat Feb 15 11:16:39 2014 -0700

    Singular is currently available for x86 architectures only.

 qepcad-B.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/qepcad-B.spec b/qepcad-B.spec
index 8bd34a0..eae47dd 100644
--- a/qepcad-B.spec
+++ b/qepcad-B.spec
@@ -1,6 +1,6 @@
 Name:           qepcad-B
 Version:        1.69
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Quantifier elimination tool
 
 License:        MIT
@@ -33,7 +33,9 @@ BuildRequires:  readline-devel
 BuildRequires:  saclib-devel
 
 Requires:       bash
+%ifarch %{ix86} x86_64
 Requires:       Singular
+%endif
 
 %description
 QEPCAD is an implementation of quantifier elimination by partial
@@ -90,8 +92,12 @@ install -p -m 0755 cad2d/cad2d %{buildroot}%{_bindir}
 
 # Install the default settings file
 mkdir -p %{buildroot}%{_datadir}/qepcad
+%ifarch %{ix86} x86_64
 sed 's/^#S/S/' default.qepcadrc > \
   %{buildroot}%{_datadir}/qepcad/default.qepcadrc
+%else
+cp -p default.qepcadrc %{buildroot}%{_datadir}/qepcad/default.qepcadrc
+%endif
 touch -r default.qepcadrc %{buildroot}%{_datadir}/qepcad/default.qepcadrc
 
 # Install qepcad.help and the expected symbolic links
@@ -109,6 +115,9 @@ ln -s %{_bindir}/qepcad %{buildroot}%{_datadir}/qepcad/bin
 %{_datadir}/qepcad/
 
 %changelog
+* Sat Feb 15 2014 Jerry James <loganjerry at gmail.com> - 1.69-3
+- Singular is currently available for x86 architectures only
+
 * Thu Feb 13 2014 Jerry James <loganjerry at gmail.com> - 1.69-2
 - Install qepcad.help
 


More information about the scm-commits mailing list