Fix pkgconfig request on rhel

This commit is contained in:
sagitter 2018-02-06 19:12:15 +01:00
parent 42e5f9ec8a
commit 2d9a68d9ee

View File

@ -125,7 +125,7 @@
Name: petsc
Summary: Portable Extensible Toolkit for Scientific Computation
Version: %{releasever}.3
Release: 3%{?dist}
Release: 4%{?dist}
License: BSD
URL: https://www.mcs.anl.gov/petsc
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
Summary: Portable Extensible Toolkit for Scientific Computation (developer files)
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconf
%if 0%{?rhel}
Requires: pkgconfig
%else
Requires: pkgconf
%endif
%description devel
Portable Extensible Toolkit for Scientific Computation (developer files).
@ -211,7 +215,11 @@ modeled by partial differential equations (64bit INTEGER).
%package -n petsc64-devel
Requires: %{name}64%{?_isa} = %{version}-%{release}
Requires: gcc-gfortran%{?_isa}
Requires: pkgconf
%if 0%{?rhel}
Requires: pkgconfig
%else
Requires: pkgconf
%endif
Summary: Portable Extensible Toolkit for Scientific Computation (64bit INTEGER)
%description -n petsc64-devel
@ -1052,6 +1060,9 @@ make -C buildmpich_dir test
%endif
%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
- cgns/hdf5 support enabled (bz#1541616)