Remove gcc-gfortran as required package

This commit is contained in:
sagitter 2018-09-14 11:57:14 +02:00
parent 11b74e70c3
commit 28eec82e83

View File

@ -6,21 +6,10 @@
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
%endif
# openblas available on these architectures.
%if 0%{?fedora} && 0%{?fedora} > 26
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64 s390x}
%else
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
%endif
%if 0%{?rhel}
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
%endif
Name: SuperLU
Version: 5.2.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Subroutines to solve sparse linear systems
License: BSD and GPLv2+
URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
Source0: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/%{genname}_%{version}.tar.gz
@ -33,20 +22,15 @@ Patch2: %{name}-%{version}-set_soname.patch
%ifarch %{openblas_arches}
BuildRequires: openblas-devel, openblas-srpm-macros
%else
BuildRequires: blas-devel
BuildRequires: blas-devel
%endif
BuildRequires: atlas-devel, gcc
%if 0%{?rhel}
BuildRequires: cmake3, epel-rpm-macros
%global ctest3 ctest3
%else
BuildRequires: cmake
%global cmake3 %cmake
%global ctest3 ctest
BuildRequires: epel-rpm-macros
%endif
BuildRequires: cmake3
BuildRequires: gcc-gfortran
BuildRequires: csh
Requires: gcc-gfortran%{?_isa}
%description
SuperLU contains a set of subroutines to solve a sparse linear system
@ -111,6 +95,9 @@ popd
%doc DOC EXAMPLE FORTRAN
%changelog
* Fri Sep 14 2018 Antonio Trande <sagitterATfedoraproject.org> - 5.2.1-5
- Remove gcc-gfortran as required package
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild