Update to last successful build

c1593e331ee527b6e0e4d369f1f15c2b70cdb74b Link against libzsd to close libsolvs open references (as we link statically)

OBS-URL: https://build.opensuse.org/package/show/zypp:Head/libzypp?expand=0&rev=2231
This commit is contained in:
ZYpp Developers 2020-09-18 12:47:40 +00:00 committed by Git OBS Bridge
parent 3042d6b7eb
commit c3a8988860
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5c2bd3d23e6aef29d8d15d7ff890a5671c215ff16ac6068dd04e3718291a8d1
size 4776054
oid sha256:a0e9853272ea512daf085daa399429fee160a43068a1d35b95ab2e018ad32832
size 4777303

View File

@ -21,6 +21,12 @@
%else
%bcond_with zchunk
%endif
# libsolvs external references require us to link against it:
%if 0%{?sle_version} >= 150000 || 0%{?suse_version} >= 1500
%bcond_without zstd
%else
%bcond_with zstd
%endif
%bcond_without mediabackend_tests
@ -152,6 +158,9 @@ BuildRequires: libxslt-tools
%if %{with zchunk}
BuildRequires: libzck-devel
%endif
%if %{with zstd}
BuildRequires: libzstd-devel
%endif
%description
libzypp is the package management library that powers applications
@ -245,6 +254,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=1 \
%{?with_zchunk:-DENABLE_ZCHUNK_COMPRESSION=1} \
%{?with_zstd:-DENABLE_ZSTD_COMPRESSION=1} \
%{!?with_mediabackend_tests:-DDISABLE_MEDIABACKEND_TESTS=1} \
${EXTRA_CMAKE_OPTIONS} \
..