gitrev 1a074b88e (Add ZYPP_API for exported functions and switch to visibility=hidden, 2024-04-24)
OBS-URL: https://build.opensuse.org/package/show/zypp:Head/libzypp?expand=0&rev=2690
This commit is contained in:
parent
ef648e9899
commit
7ef41894da
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:42a07134cffa2117b9beab4ab1f3e8b2b88db62feabb517c9076d9792e5f5831
|
||||
size 5596887
|
||||
oid sha256:137a2edb8439ce6b50465cd6b73c2dde302597cd20e9776003ec79c9d1ce567c
|
||||
size 5597686
|
||||
|
10
libzypp.spec
10
libzypp.spec
@ -38,6 +38,13 @@
|
||||
%bcond_with sigc_block_workaround
|
||||
%endif
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150600
|
||||
%bcond_without visibility_hidden
|
||||
%else
|
||||
%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
|
||||
|
||||
@ -236,7 +243,7 @@ Group: Documentation/HTML
|
||||
Developer documentation for libzypp.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
@ -261,6 +268,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=1 \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
|
||||
%{?with_visibility_hidden:-DENABLE_VISIBILITY_HIDDEN=1} \
|
||||
%{?with_zchunk:-DENABLE_ZCHUNK_COMPRESSION=1} \
|
||||
%{?with_zstd:-DENABLE_ZSTD_COMPRESSION=1} \
|
||||
%{?with_sigc_block_workaround:-DENABLE_SIGC_BLOCK_WORKAROUND=1} \
|
||||
|
Loading…
Reference in New Issue
Block a user