Release 3.14.1| Fix pkg-config files/2

This commit is contained in:
Antonio T 2020-11-21 11:06:37 +01:00
parent 862f4dce3c
commit d890f27303

View File

@ -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 -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
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/petscrules $RPM_BUILD_ROOT%{_libdir}/%{name}64/conf/
install -pm 644 %{_arch}/lib/petsc/conf/petscvariables $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 %files devel
%{_libdir}/pkgconfig/PETSc.pc %{_libdir}/pkgconfig/PETSc.pc
%{_libdir}/pkgconfig/petsc.pc
%{_libdir}/%{name}/ %{_libdir}/%{name}/
%{_libdir}/libpetsc.so %{_libdir}/libpetsc.so
%{_includedir}/%{name}/ %{_includedir}/%{name}/
@ -930,6 +932,7 @@ xvfb-run -a make all test -C build64 V=1
%files -n petsc64-devel %files -n petsc64-devel
%{_libdir}/pkgconfig/PETSc64.pc %{_libdir}/pkgconfig/PETSc64.pc
%{_libdir}/pkgconfig/petsc64.pc
%{_libdir}/%{name}64/ %{_libdir}/%{name}64/
%{_libdir}/libpetsc64.so %{_libdir}/libpetsc64.so
%{_includedir}/%{name}64/ %{_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/libpetsc.so
%{_libdir}/openmpi/lib/%{name}/ %{_libdir}/openmpi/lib/%{name}/
%{_libdir}/openmpi/lib/pkgconfig/PETSc.pc %{_libdir}/openmpi/lib/pkgconfig/PETSc.pc
%{_libdir}/openmpi/lib/pkgconfig/petsc.pc
%{_includedir}/openmpi-%{_arch}/%{name}/ %{_includedir}/openmpi-%{_arch}/%{name}/
%if 0%{?el7} %if 0%{?el7}
%{_fmoddir}/openmpi-%{_arch}/%{name}/ %{_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/libpetsc.so
%{_libdir}/mpich/lib/%{name}/ %{_libdir}/mpich/lib/%{name}/
%{_libdir}/mpich/lib/pkgconfig/PETSc.pc %{_libdir}/mpich/lib/pkgconfig/PETSc.pc
%{_libdir}/mpich/lib/pkgconfig/petsc.pc
%{_includedir}/mpich-%{_arch}/%{name}/ %{_includedir}/mpich-%{_arch}/%{name}/
%if 0%{?el7} %if 0%{?el7}
%{_fmoddir}/mpich-%{_arch}/%{name}/ %{_fmoddir}/mpich-%{_arch}/%{name}/