Fix pkgconfig request on rhel
This commit is contained in:
parent
42e5f9ec8a
commit
2d9a68d9ee
17
petsc.spec
17
petsc.spec
@ -125,7 +125,7 @@
|
|||||||
Name: petsc
|
Name: petsc
|
||||||
Summary: Portable Extensible Toolkit for Scientific Computation
|
Summary: Portable Extensible Toolkit for Scientific Computation
|
||||||
Version: %{releasever}.3
|
Version: %{releasever}.3
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://www.mcs.anl.gov/petsc
|
URL: https://www.mcs.anl.gov/petsc
|
||||||
Source0: http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.tar.gz
|
Source0: http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.tar.gz
|
||||||
@ -180,7 +180,11 @@ modeled by partial differential equations.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Portable Extensible Toolkit for Scientific Computation (developer files)
|
Summary: Portable Extensible Toolkit for Scientific Computation (developer files)
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconf
|
%if 0%{?rhel}
|
||||||
|
Requires: pkgconfig
|
||||||
|
%else
|
||||||
|
Requires: pkgconf
|
||||||
|
%endif
|
||||||
%description devel
|
%description devel
|
||||||
Portable Extensible Toolkit for Scientific Computation (developer files).
|
Portable Extensible Toolkit for Scientific Computation (developer files).
|
||||||
|
|
||||||
@ -211,7 +215,11 @@ modeled by partial differential equations (64bit INTEGER).
|
|||||||
%package -n petsc64-devel
|
%package -n petsc64-devel
|
||||||
Requires: %{name}64%{?_isa} = %{version}-%{release}
|
Requires: %{name}64%{?_isa} = %{version}-%{release}
|
||||||
Requires: gcc-gfortran%{?_isa}
|
Requires: gcc-gfortran%{?_isa}
|
||||||
Requires: pkgconf
|
%if 0%{?rhel}
|
||||||
|
Requires: pkgconfig
|
||||||
|
%else
|
||||||
|
Requires: pkgconf
|
||||||
|
%endif
|
||||||
Summary: Portable Extensible Toolkit for Scientific Computation (64bit INTEGER)
|
Summary: Portable Extensible Toolkit for Scientific Computation (64bit INTEGER)
|
||||||
|
|
||||||
%description -n petsc64-devel
|
%description -n petsc64-devel
|
||||||
@ -1052,6 +1060,9 @@ make -C buildmpich_dir test
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 06 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.8.3-4
|
||||||
|
- Fix pkgconfig request on rhel
|
||||||
|
|
||||||
* Sun Feb 04 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.8.3-3
|
* Sun Feb 04 2018 Antonio Trande <sagitter@fedoraproject.org> - 3.8.3-3
|
||||||
- cgns/hdf5 support enabled (bz#1541616)
|
- cgns/hdf5 support enabled (bz#1541616)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user