Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libzypp for openSUSE:Factory checked in at 2026-03-12 22:20:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzypp (Old) and /work/SRC/openSUSE:Factory/.libzypp.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzypp" Thu Mar 12 22:20:28 2026 rev:527 rq:1338238 version:17.38.4 Changes: -------- --- /work/SRC/openSUSE:Factory/libzypp/libzypp.changes 2026-02-14 21:37:24.228860181 +0100 +++ /work/SRC/openSUSE:Factory/.libzypp.new.8177/libzypp.changes 2026-03-12 22:21:58.997555487 +0100 @@ -1,0 +2,20 @@ +Tue Mar 10 11:05:16 CET 2026 - [email protected] + +- Fix Product::referencePackage lookup (bsc#1259311) + Use a provided autoproduct() as hint to the package name of the + release package. It might be that not just multiple versions of + the same release package provide the same product version, but + also different release packages. +- version 17.38.4 (35) + +------------------------------------------------------------------- +Fri Mar 6 13:37:33 CET 2026 - [email protected] + +- specfile: on fedora use %{_prefix}/share as zyppconfdir if + %{_distconfdir} is undefined (fixes #693) + This will set '-DZYPPCONFDIR=%{zyppconfdir}' for cmake. +- Fall back to a writable location when precaching packages + without root (bsc#1247948) +- version 17.38.3 (35) + +------------------------------------------------------------------- Old: ---- libzypp-17.38.2.tar.bz2 New: ---- libzypp-17.38.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp.spec ++++++ --- /var/tmp/diff_new_pack.scp0Uf/_old 2026-03-12 22:22:01.493658753 +0100 +++ /var/tmp/diff_new_pack.scp0Uf/_new 2026-03-12 22:22:01.509659415 +0100 @@ -79,16 +79,26 @@ # Note: Kind of related to '_distconfdir', but 'zyppconfdir' refers to # where we install and lookup our own config files. While '_distconfdir' # tells where we install other packages config snippets (e.g. logrotate). -%define zyppconfdir %{_prefix}/etc +%if %{defined _distconfdir} + %define zyppconfdir %{_distconfdir} +%else + %if 0%{?fedora} + # https://github.com/openSUSE/libzypp/issues/693 + %define zyppconfdir %{_prefix}/share + %else + %define zyppconfdir %{_prefix}/etc + %endif +%endif + %if 0%{?suse_version} && 0%{?suse_version} < 1610 -# legacy disto tools may not be prepared for having no /etc/zypp.conf +# legacy distro tools may not be prepared for having no /etc/zypp.conf %bcond_without keep_legacy_zyppconf %else %bcond_with keep_legacy_zyppconf %endif Name: libzypp -Version: 17.38.2 +Version: 17.38.4 Release: 0 License: GPL-2.0-or-later URL: https://github.com/openSUSE/libzypp @@ -348,6 +358,7 @@ %if 0%{?suse_version} < 1600 EXTRA_CMAKE_OPTIONS="${EXTRA_CMAKE_OPTIONS} -DLIBZYPP_CONFIG_USE_LEGACY_CURL_BACKEND_BY_DEFAULT=1" EXTRA_CMAKE_OPTIONS="${EXTRA_CMAKE_OPTIONS} -DLIBZYPP_CONFIG_USE_SERIAL_PACKAGE_DOWNLOAD_BY_DEFAULT=1" +EXTRA_CMAKE_OPTIONS="${EXTRA_CMAKE_OPTIONS} -DBUILD_LIBZYPPNG=0" %endif %endif @@ -359,6 +370,7 @@ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 \ -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \ + -DZYPPCONFDIR=%{zyppconfdir} \ %{?with_keep_legacy_zyppconf:-DKEEP_LEGACY_ZYPPCONF=1} \ %{?with_visibility_hidden:-DENABLE_VISIBILITY_HIDDEN=1} \ %{?with_zchunk:-DENABLE_ZCHUNK_COMPRESSION=1} \ @@ -417,27 +429,26 @@ LD_LIBRARY_PATH="$(pwd)/../zypp:$LD_LIBRARY_PATH" ctest --output-on-failure . popd +# Some tool macros for the scripts: +# Prepare for migration to /usr/etc; save any old .rpmsave in pre and restore new one's in posttrans: +%define rpmsaveSave() test -f %{1}.rpmsave && mv -v %{1}.rpmsave %{1}.rpmsave.old ||: +%define rpmsaveRestore() test -f %{1}.rpmsave && mv -v %{1}.rpmsave %{1} ||: + %pre -# Prepare for migration to /usr/etc; save any old .rpmsave %if %{defined _distconfdir} -myNOTFORZYPP='logrotate.d/zypp-history.lr' -%else -myNOTFORZYPP='' +%rpmsaveSave %{_sysconfdir}/logrotate.d/zypp-history.lr +%endif +%if %{without keep_legacy_zyppconf} +%rpmsaveSave %{_sysconfdir}/zypp/zypp.conf %endif -for i in zypp/zypp.conf $myNOTFORZYPP; do - test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||: -done %posttrans -# Migration to /usr/etc, restore just created .rpmsave %if %{defined _distconfdir} -myNOTFORZYPP='logrotate.d/zypp-history.lr' -%else -myNOTFORZYPP='' +%rpmsaveRestore %{_sysconfdir}/logrotate.d/zypp-history.lr +%endif +%if %{without keep_legacy_zyppconf} +%rpmsaveRestore %{_sysconfdir}/zypp/zypp.conf %endif -for i in zypp/zypp.conf $myNOTFORZYPP; do - test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: -done %post -p /sbin/ldconfig ++++++ libzypp-17.38.2.tar.bz2 -> libzypp-17.38.4.tar.bz2 ++++++ ++++ 12694 lines of diff (skipped)
