diff --git a/libzypp-17.21.0.tar.bz2 b/libzypp-17.21.0.tar.bz2 deleted file mode 100644 index e694cbc..0000000 --- a/libzypp-17.21.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5070a1f81fdac422315aacec28ec963c0a151293abb1b65d78604ea23e8f8a8 -size 4741075 diff --git a/libzypp-17.22.0.tar.bz2 b/libzypp-17.22.0.tar.bz2 new file mode 100644 index 0000000..7c11c85 --- /dev/null +++ b/libzypp-17.22.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6342eadfbc9f28264a038563d9f125009dc78ce8fbc8ffc0942270202d1ee46f +size 4724466 diff --git a/libzypp.changes b/libzypp.changes index b668b67..ab364bd 100644 --- a/libzypp.changes +++ b/libzypp.changes @@ -1,9 +1,17 @@ +------------------------------------------------------------------- +Thu Jan 23 16:30:19 CET 2020 - ma@suse.de + +- yum::Downloader: Prefer zchunk compressed metadata if libvsolv + supports it. +- BuildRequires: libsolv-devel >= 0.7.11. +- version 17.22.0 (22) + ------------------------------------------------------------------- Mon Jan 20 12:53:12 CET 2020 - ma@suse.de - Selectable: Fix highestAvailableVersionObj if only retracted packages are available. Avoid using retracted items as candidate - (jira#SLE-8905) + (jsc#SLE-8770) - version 17.21.0 (20) ------------------------------------------------------------------- diff --git a/libzypp.spec b/libzypp.spec index 26daff8..53026b8 100644 --- a/libzypp.spec +++ b/libzypp.spec @@ -16,8 +16,14 @@ # +%if 0%{?is_opensuse} && (0%{?sle_version} >= 150100 || 0%{?suse_version} > 1500) +%bcond_without zchunk +%else +%bcond_with zchunk +%endif + Name: libzypp -Version: 17.21.0 +Version: 17.22.0 Release: 0 Url: https://github.com/openSUSE/libzypp Summary: Library for package, patch, pattern and product management @@ -71,7 +77,7 @@ BuildRequires: pkgconfig BuildRequires: pkg-config %endif -BuildRequires: libsolv-devel >= 0.7.10 +BuildRequires: libsolv-devel >= 0.7.11 %if 0%{?suse_version} >= 1100 BuildRequires: libsolv-tools %requires_eq libsolv-tools @@ -129,6 +135,10 @@ BuildRequires: asciidoc BuildRequires: libxslt-tools %endif +%if %{with zchunk} +BuildRequires: libzck-devel +%endif + %description libzypp is the package management library that powers applications like YaST, zypper and the openSUSE/SLE implementation of PackageKit. @@ -220,6 +230,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB=%{_lib} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 \ + %{?with_zchunk:-DENABLE_ZCHUNK_COMPRESSION=1} \ ${EXTRA_CMAKE_OPTIONS} \ .. make %{?_smp_mflags} VERBOSE=1