[libint] Unite RHEL specs.
Susi Lehtola
jussilehtola at fedoraproject.org
Sun Dec 22 16:00:50 UTC 2013
commit 26641e5cb802e595badf6f452f50e51be4ac4bdf
Author: Susi Lehtola <jussilehtola at fedoraproject.org>
Date: Sun Dec 22 18:00:40 2013 +0200
Unite RHEL specs.
libint.spec | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/libint.spec b/libint.spec
index fc4f048..db5d942 100644
--- a/libint.spec
+++ b/libint.spec
@@ -12,10 +12,26 @@ Patch0: libint-1.1.5-printf.patch
Patch1: libint-1.1.5-maxnode.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+%if 0%{?rhel} == 5
+# g++ crashes on pcc when trying to build in EPEL-5
+ExcludeArch: ppc
+# Required to build documentation
+BuildRequires: /usr/bin/bibtex
+BuildRequires: /usr/bin/pdflatex
+%endif
+
+%if 0%{?rhel} == 6
# Required to build documentation
+BuildRequires: /usr/bin/bibtex
+BuildRequires: /usr/bin/pdflatex
+%endif
+
+%if 0%{?fedora} > 17
+# Required to build documentation
+BuildRequires: tex-bibtex
BuildRequires: tex(appendix.sty)
BuildRequires: tex(bbding.sty)
-BuildRequires: tex-bibtex
BuildRequires: tex(braket.sty)
BuildRequires: tex(framed.sty)
BuildRequires: tex(latex)
@@ -23,6 +39,7 @@ BuildRequires: tex(mathcomp.sty)
BuildRequires: tex(sfmath.sty)
BuildRequires: tex(subfigure.sty)
Buildrequires: tex(wrapfig.sty)
+%endif
%description
LIBINT computes the Coulomb and exchange integrals, which in electronic
More information about the scm-commits
mailing list