The package rpms/ergo.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/ergo.git/commit/?id=5267b7510ac65....
Change:
-%ifarch %ix86 x86_64
Thanks.
Full change:
============
commit 5267b7510ac652040741eb3826252e0500ac8c3a
Author: Susi Lehtola <jussilehtola(a)fedoraproject.org>
Date: Sat May 5 12:53:50 2018 +0200
Fix FTBFS.
diff --git a/ergo.spec b/ergo.spec
index 3486a40..8a8a3e2 100644
--- a/ergo.spec
+++ b/ergo.spec
@@ -1,14 +1,20 @@
Name: ergo
Version: 3.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A program for large-scale self-consistent field calculations
-
Group: Applications/Engineering
License: GPLv3+
URL:
http://www.ergoscf.org
Source0:
http://ergoscf.org/source/tarfiles/ergo-%{version}.tar.gz
+# What architectures is OpenBLAS available on?
%ifarch x86_64 %{ix86} armv7hl %{power64} aarch64 s390x
+%global openblas 1
+%else
+%global openblas 0
+%endif
+
+%if %{openblas}
BuildRequires: openblas-devel
%else
BuildRequires: atlas-devel
@@ -73,7 +79,7 @@ export FFLAGS="${CFLAGS}"
# Linker flags
export LDFLAGS="-L%{_libdir}/atlas -fopenmp"
-%ifarch %ix86 x86_64
+%if %{openblas}
export LIBS="-lopenblaso"
%else
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
@@ -115,6 +121,9 @@ make check VERBOSE=1
%doc COPYING documentation/html/*
%changelog
+* Sat May 05 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 3.6-2
+- Fix FTBFS.
+
* Wed Feb 28 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 3.6-1
- Added gcc-c++ buildrequires.
- Update to 3.6.