diff --git a/petsc.spec b/petsc.spec index 8b402ff..7ec7650 100644 --- a/petsc.spec +++ b/petsc.spec @@ -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 - 3.8.3-4 +- Fix pkgconfig request on rhel + * Sun Feb 04 2018 Antonio Trande - 3.8.3-3 - cgns/hdf5 support enabled (bz#1541616)