Remove unnecessary fedora branches from EPEL spec.
This commit is contained in:
parent
ab13b57138
commit
1487a1cf52
|
@ -23,10 +23,6 @@ BuildRequires: hdf5-devel
|
|||
BuildRequires: SuperLU-devel
|
||||
|
||||
# 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
|
||||
%global extra_options %{nil}
|
||||
BuildRequires: atlas-devel
|
||||
|
@ -35,7 +31,6 @@ BuildRequires: lapack-devel
|
|||
%ifarch %{openblas_arches}
|
||||
BuildRequires: openblas-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
Armadillo is a C++ linear algebra library (matrix maths)
|
||||
|
@ -63,15 +58,11 @@ Requires: hdf5-devel
|
|||
%endif
|
||||
Requires: SuperLU-devel
|
||||
|
||||
%if %{?fedora}
|
||||
Requires: flexiblas-devel
|
||||
%else
|
||||
Requires: atlas-devel
|
||||
Requires: lapack-devel
|
||||
%ifarch %{openblas_arches}
|
||||
Requires: openblas-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%description devel
|
||||
|
|
Loading…
Reference in New Issue