Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package petsc for openSUSE:Factory checked in at 2023-12-25 19:05:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/petsc (Old) and /work/SRC/openSUSE:Factory/.petsc.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "petsc" Mon Dec 25 19:05:53 2023 rev:34 rq:1134959 version:3.18.5 Changes: -------- --- /work/SRC/openSUSE:Factory/petsc/petsc.changes 2023-10-24 20:08:17.492381315 +0200 +++ /work/SRC/openSUSE:Factory/.petsc.new.28375/petsc.changes 2023-12-25 19:06:11.647439381 +0100 @@ -1,0 +2,8 @@ +Sun Dec 3 12:24:27 UTC 2023 - Atri Bhattacharya <[email protected]> + +- Make a symlink to the real pkgconfig dir (for example, in an + installed system) for package's absurdly located pkgconfig file. + This is a minimal workaround to boo#1217751, I guess. +- Cosmetic touch-ups. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ petsc.spec ++++++ --- /var/tmp/diff_new_pack.hL3F8f/_old 2023-12-25 19:06:12.615474708 +0100 +++ /var/tmp/diff_new_pack.hL3F8f/_new 2023-12-25 19:06:12.615474708 +0100 @@ -1,5 +1,5 @@ # -# spec file +# spec file for package petsc # # Copyright (c) 2023 SUSE LLC # @@ -657,6 +657,13 @@ sed -i -e '/^MAKE_/ { /MAKE_NP/ d ; /MAKE_LOAD/ d ; /MAKE_TEST_NP/ d }; /^NPMAX/ d' \ %{buildroot}%{p_prefix}/lib/petsc/conf/petscvariables +%if %{without hpc} +# Make pkgconfig file visible to pkg-config +mkdir -p %{buildroot}%{p_libdir}/pkgconfig +ln -s %{p_libdir}/petsc/%{version}/%{petsc_arch}/lib/pkgconfig/petsc.pc \ + %{buildroot}%{p_libdir}/pkgconfig/ +%endif + %fdupes %{buildroot}%{p_include} %fdupes %{buildroot}%{p_libdir} %fdupes %{buildroot}%{p_prefix}/share/petsc/examples @@ -691,6 +698,7 @@ %{p_prefix}/lib/petsc %{p_prefix}/%{!?with_hpc:lib}%{?with_hpc:%_lib}/pkgconfig %{p_libdir}/*.so +%{p_libdir}/pkgconfig/*.pc %if %{without hpc} %{p_prefix}/lib/*.so %dir %{_datadir}/modules/%{name}-%{petsc_arch}
