Specify to RHEL.

epel9
Ryan Curtin 3 years ago
parent 7126477269
commit 38d3fd6db2

@ -15,10 +15,6 @@ BuildRequires: hdf5-devel
BuildRequires: SuperLU-devel BuildRequires: SuperLU-devel
# flexiblas is only available on Fedora, for EPEL replace it by atlas, lapack and openblas # flexiblas is only available on Fedora, for EPEL replace it by atlas, lapack and openblas
%if %{?fedora}
%global extra_options -DALLOW_FLEXIBLAS_LINUX=ON
BuildRequires: flexiblas-devel
%else
%undefine __cmake_in_source_build %undefine __cmake_in_source_build
%global extra_options %{nil} %global extra_options %{nil}
BuildRequires: atlas-devel BuildRequires: atlas-devel
@ -27,7 +23,6 @@ BuildRequires: lapack-devel
%ifarch %{openblas_arches} %ifarch %{openblas_arches}
BuildRequires: openblas-devel BuildRequires: openblas-devel
%endif %endif
%endif
%description %description
Armadillo is a C++ linear algebra library (matrix maths) Armadillo is a C++ linear algebra library (matrix maths)
@ -53,15 +48,11 @@ Requires: arpack-devel
Requires: hdf5-devel Requires: hdf5-devel
Requires: SuperLU-devel Requires: SuperLU-devel
%if %{?fedora}
Requires: flexiblas-devel
%else
Requires: atlas-devel Requires: atlas-devel
Requires: lapack-devel Requires: lapack-devel
%ifarch %{openblas_arches} %ifarch %{openblas_arches}
Requires: openblas-devel Requires: openblas-devel
%endif %endif
%endif
%description devel %description devel

Loading…
Cancel
Save