Sync from SUSE:SLFO:Main libzypp revision d6b3dec12ff8f92236e5e44d301acbf4

This commit is contained in:
2025-05-30 17:08:52 +02:00
parent 70ea5dfeaa
commit 8b260f06fb
5 changed files with 71 additions and 10 deletions

View File

@@ -2,7 +2,10 @@
<constraints>
<hardware>
<disk>
<size unit="G">5</size>
<size unit="G">25</size>
</disk>
<physicalmemory>
<size unit="M">5000</size>
</physicalmemory>
</hardware>
</constraints>

BIN
libzypp-17.36.7.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
libzypp-17.37.2.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,49 @@
-------------------------------------------------------------------
Tue May 27 19:37:53 CEST 2025 - ma@suse.de
- Add a note to service maintained .repo file entries (fixes #638)
- Support using %{url} variable in a RIS service's repo section.
- version 17.37.2 (35)
-------------------------------------------------------------------
Fri May 23 19:55:53 CEST 2025 - ma@suse.de
- Use a cookie file to validate mirrorlist cache.
This patch extends the mirrorlist code to use a cookie file to
validate the contents of the cache against the source URL, making
sure that we do not accidentially use a old cache when the
mirrorlist url was changed. For example when migrating a system
from one release to the next where the same repo alias might just
have a different URL.
- Let Service define and update gpgkey, mirrorlist and metalink.
- Preserve a mirrorlist file in the raw cache during refresh.
- version 17.37.1 (35)
-------------------------------------------------------------------
Thu May 22 16:10:03 CEST 2025 - ma@suse.de
- Code16: Enable curl2 backend and parallel package download by
default. In Code15 it's optional.
Environment variables ZYPP_CURL2=<0|1> and ZYPP_PCK_PRELOAD=<0|1>
can be used to turn the features on or off.
- Make gpgKeyUrl the default source for gpg keys.
When refreshing zypp now primarily uses gpgKeyUrl information
from the repo files and only falls back to a automatically
generated key Url if a gpgKeyUrl was not specified.
- Introduce mirrors into the Media backends (bsc#1240132)
- Drop MediaMultiCurl backend.
- Throttle progress updates when preloading packages (bsc#1239543)
- Check if request is in valid state in CURL callbacks (fixes
openSUSE/zypper#605)
- spec/CMake: add conditional build
'--with[out] classic_rpmtrans_as_default'.
classic_rpmtrans is the current builtin default for SUSE,
otherwise it's single_rpmtrans.
The `enable_preview_single_rpmtrans_as_default_for_zypper` switch
was removed from the spec file. Accordingly the CMake option
ENABLE_PREVIEW_SINGLE_RPMTRANS_AS_DEFAULT_FOR_ZYPPER was removed.
- version 17.37.0 (35)
-------------------------------------------------------------------
Wed Apr 30 12:55:42 CEST 2025 - ma@suse.de

View File

@@ -15,6 +15,14 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# Switched to single_rpmtrans as default install backed.
# SUSE distros stay with classic_rpmtrans as default.
%if 0%{?suse_version}
%bcond_without classic_rpmtrans_as_default
%else
%bcond_with classic_rpmtrans_as_default
%endif
# In Code16 libsolv moved the static libs from -devel to -devel-static.
# Those are needed while cmake -DSUSE enforces linking libsolv statically.
%if 0%{?suse_version} >= 1600
@@ -61,11 +69,8 @@
%bcond_with visibility_hidden
%endif
# Distros using just zypper may want to enable this as default earlier
%bcond_with enable_preview_single_rpmtrans_as_default_for_zypper
Name: libzypp
Version: 17.36.7
Version: 17.37.2
Release: 0
License: GPL-2.0-or-later
URL: https://github.com/openSUSE/libzypp
@@ -314,11 +319,18 @@ CMAKE_FLAGS="-DSUSE=1"
EXTRA_CMAKE_OPTIONS=
%if 0%{?suse_version}
EXTRA_CMAKE_OPTIONS="${EXTRA_CMAKE_OPTIONS} -DLIBZYPP_CODESTREAM=0%{?suse_version}:0%{?sle_version}:0%{?is_opensuse}"
%endif
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150600
EXTRA_CMAKE_OPTIONS="${EXTRA_CMAKE_OPTIONS} -DLIBZYPP_CONFIG_USE_DELTARPM_BY_DEFAULT=1"
%endif
%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"
%endif
%endif
cmake .. $CMAKE_FLAGS \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DDOC_INSTALL_DIR=%{_docdir} \
@@ -331,7 +343,7 @@ cmake .. $CMAKE_FLAGS \
%{?with_zstd:-DENABLE_ZSTD_COMPRESSION=1} \
%{?with_sigc_block_workaround:-DENABLE_SIGC_BLOCK_WORKAROUND=1} \
%{!?with_mediabackend_tests:-DDISABLE_MEDIABACKEND_TESTS=1} \
%{?with enable_preview_single_rpmtrans_as_default_for_zypper:-DENABLE_PREVIEW_SINGLE_RPMTRANS_AS_DEFAULT_FOR_ZYPPER=1} \
%{?with_classic_rpmtrans_as_default:-DLIBZYPP_CONFIG_USE_CLASSIC_RPMTRANS_BY_DEFAULT=1} \
${EXTRA_CMAKE_OPTIONS}
make %{?_smp_mflags} VERBOSE=1