From d890f273037c42d07d2e71fb700db3859a23fee7 Mon Sep 17 00:00:00 2001 From: Antonio T Date: Sat, 21 Nov 2020 11:06:37 +0100 Subject: [PATCH] Release 3.14.1| Fix pkg-config files/2 --- petsc.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/petsc.spec b/petsc.spec index 4dab9b6..89f63eb 100644 --- a/petsc.spec +++ b/petsc.spec @@ -728,6 +728,7 @@ install -pm 644 %{_arch}/include/*.mod $RPM_BUILD_ROOT%{_fmoddir}/%{name}64/ cp -a include/* $RPM_BUILD_ROOT%{_includedir}/%{name}64/ cp -p %{_arch}/lib/pkgconfig/PETSc.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/PETSc64.pc +cp -p %{_arch}/lib/pkgconfig/PETSc.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/petsc64.pc install -pm 644 %{_arch}/lib/petsc/conf/petscrules $RPM_BUILD_ROOT%{_libdir}/%{name}64/conf/ install -pm 644 %{_arch}/lib/petsc/conf/petscvariables $RPM_BUILD_ROOT%{_libdir}/%{name}64/conf/ @@ -914,6 +915,7 @@ xvfb-run -a make all test -C build64 V=1 %files devel %{_libdir}/pkgconfig/PETSc.pc +%{_libdir}/pkgconfig/petsc.pc %{_libdir}/%{name}/ %{_libdir}/libpetsc.so %{_includedir}/%{name}/ @@ -930,6 +932,7 @@ xvfb-run -a make all test -C build64 V=1 %files -n petsc64-devel %{_libdir}/pkgconfig/PETSc64.pc +%{_libdir}/pkgconfig/petsc64.pc %{_libdir}/%{name}64/ %{_libdir}/libpetsc64.so %{_includedir}/%{name}64/ @@ -945,6 +948,7 @@ xvfb-run -a make all test -C build64 V=1 %{_libdir}/openmpi/lib/libpetsc.so %{_libdir}/openmpi/lib/%{name}/ %{_libdir}/openmpi/lib/pkgconfig/PETSc.pc +%{_libdir}/openmpi/lib/pkgconfig/petsc.pc %{_includedir}/openmpi-%{_arch}/%{name}/ %if 0%{?el7} %{_fmoddir}/openmpi-%{_arch}/%{name}/ @@ -962,6 +966,7 @@ xvfb-run -a make all test -C build64 V=1 %{_libdir}/mpich/lib/libpetsc.so %{_libdir}/mpich/lib/%{name}/ %{_libdir}/mpich/lib/pkgconfig/PETSc.pc +%{_libdir}/mpich/lib/pkgconfig/petsc.pc %{_includedir}/mpich-%{_arch}/%{name}/ %if 0%{?el7} %{_fmoddir}/mpich-%{_arch}/%{name}/