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 - 1.69-3 +- Singular is currently available for x86 architectures only + * Thu Feb 13 2014 Jerry James - 1.69-2 - Install qepcad.help