Add gcc BR
This commit is contained in:
parent
34437c93b6
commit
a03544884e
16
SuperLU.spec
16
SuperLU.spec
@ -8,9 +8,8 @@
|
|||||||
|
|
||||||
Name: SuperLU
|
Name: SuperLU
|
||||||
Version: 5.2.0
|
Version: 5.2.0
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Subroutines to solve sparse linear systems
|
Summary: Subroutines to solve sparse linear systems
|
||||||
%{?el5:Group: System/Libraries}
|
|
||||||
|
|
||||||
License: BSD and GPLV2+
|
License: BSD and GPLV2+
|
||||||
URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
|
URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
|
||||||
@ -25,8 +24,7 @@ Patch3: %{genname}-5x-fix-testsuite.patch
|
|||||||
# patch obtained from the debian package
|
# patch obtained from the debian package
|
||||||
Patch4: %{genname}-removemc64.patch
|
Patch4: %{genname}-removemc64.patch
|
||||||
|
|
||||||
%{?el5:BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)}
|
BuildRequires: atlas-devel, gcc
|
||||||
BuildRequires: atlas-devel
|
|
||||||
BuildRequires: csh
|
BuildRequires: csh
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -37,9 +35,7 @@ preordering for sparsity is completely separate from the factorization.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files and libraries for SuperLU development
|
Summary: Header files and libraries for SuperLU development
|
||||||
%{?el5:Group: Development/Libraries}
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
%{?el5:Requires: pkgconfig}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains the header files
|
The %{name}-devel package contains the header files
|
||||||
@ -85,7 +81,6 @@ make %{?_smp_mflags} superlulib
|
|||||||
make -C TESTING
|
make -C TESTING
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{?el5:rm -rf %{buildroot}}
|
|
||||||
mkdir -p %{buildroot}%{_libdir}
|
mkdir -p %{buildroot}%{_libdir}
|
||||||
mkdir -p %{buildroot}%{_includedir}/%{name}
|
mkdir -p %{buildroot}%{_includedir}/%{name}
|
||||||
install -p SRC/libsuperlu.so.%{libver} %{buildroot}%{_libdir}
|
install -p SRC/libsuperlu.so.%{libver} %{buildroot}%{_libdir}
|
||||||
@ -102,9 +97,6 @@ do
|
|||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%{?el5:%clean}
|
|
||||||
%{?el5:rm -rf %{buildroot}}
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -120,6 +112,10 @@ popd
|
|||||||
%doc DOC EXAMPLE FORTRAN
|
%doc DOC EXAMPLE FORTRAN
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 21 2018 Antonio Trande <sagitterATfedoraproject.org> - 5.2.0-8
|
||||||
|
- Add gcc BR
|
||||||
|
- Remove el5 bits
|
||||||
|
|
||||||
* Thu Feb 15 2018 Antonio Trande <sagitterATfedoraproject.org> - 5.2.0-7
|
* Thu Feb 15 2018 Antonio Trande <sagitterATfedoraproject.org> - 5.2.0-7
|
||||||
- Use %%ldconfig_scriptlets
|
- Use %%ldconfig_scriptlets
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user