forked from pool/libzypp
Update to last successful build
9ce79351f68c54ca23903cd921c4d94f3ea196b7 Provide ZeroCopyStreams for zypp-rpm on older protobuf versions OBS-URL: https://build.opensuse.org/package/show/zypp:Head/libzypp?expand=0&rev=2337
This commit is contained in:
parent
dba53d3a17
commit
5854e3595a
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:23528d54e8d1f1ba7133caba61671709d22b78deb6932db36223a192ad45bfbe
|
oid sha256:b501b8fe690af76f319f65c4312c118b737b4eee1585eb06aadf12ef488d0398
|
||||||
size 4840774
|
size 5510439
|
||||||
|
19
libzypp.spec
19
libzypp.spec
@ -30,6 +30,15 @@
|
|||||||
|
|
||||||
%bcond_without mediabackend_tests
|
%bcond_without mediabackend_tests
|
||||||
|
|
||||||
|
# older libsigc versions have a bug that causes a segfault
|
||||||
|
# when clearing connections during signal emission
|
||||||
|
# see https://bugzilla.gnome.org/show_bug.cgi?id=784550
|
||||||
|
%if 0%{?sle_version} < 150200
|
||||||
|
%bcond_without sigc_block_workaround
|
||||||
|
%else
|
||||||
|
%bcond_with sigc_block_workaround
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: libzypp
|
Name: libzypp
|
||||||
Version: 17.27.0
|
Version: 17.27.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -93,6 +102,7 @@ Requires: libsolv-tools
|
|||||||
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: libsigc++2-devel
|
BuildRequires: libsigc++2-devel
|
||||||
|
BuildRequires: protobuf-devel
|
||||||
|
|
||||||
# required for testsuite
|
# required for testsuite
|
||||||
%if %{with mediabackend_tests}
|
%if %{with mediabackend_tests}
|
||||||
@ -247,8 +257,10 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|||||||
-DLIB=%{_lib} \
|
-DLIB=%{_lib} \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_SKIP_RPATH=1 \
|
-DCMAKE_SKIP_RPATH=1 \
|
||||||
|
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \
|
||||||
%{?with_zchunk:-DENABLE_ZCHUNK_COMPRESSION=1} \
|
%{?with_zchunk:-DENABLE_ZCHUNK_COMPRESSION=1} \
|
||||||
%{?with_zstd:-DENABLE_ZSTD_COMPRESSION=1} \
|
%{?with_zstd:-DENABLE_ZSTD_COMPRESSION=1} \
|
||||||
|
%{?with_sigc_block_workaround:-DENABLE_SIGC_BLOCK_WORKAROUND=1} \
|
||||||
%{!?with_mediabackend_tests:-DDISABLE_MEDIABACKEND_TESTS=1} \
|
%{!?with_mediabackend_tests:-DDISABLE_MEDIABACKEND_TESTS=1} \
|
||||||
${EXTRA_CMAKE_OPTIONS} \
|
${EXTRA_CMAKE_OPTIONS} \
|
||||||
..
|
..
|
||||||
@ -384,11 +396,15 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/zypp/systemCheck
|
%config(noreplace) %{_sysconfdir}/zypp/systemCheck
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/zypp-history.lr
|
%config(noreplace) %{_sysconfdir}/logrotate.d/zypp-history.lr
|
||||||
%dir %{_var}/lib/zypp
|
%dir %{_var}/lib/zypp
|
||||||
|
%if "%{_libexecdir}" != "%{_prefix}/lib"
|
||||||
|
%dir %{_libexecdir}/zypp
|
||||||
|
%endif
|
||||||
%dir %attr(750,root,root) %{_var}/log/zypp
|
%dir %attr(750,root,root) %{_var}/log/zypp
|
||||||
%dir %{_var}/cache/zypp
|
%dir %{_var}/cache/zypp
|
||||||
%{_prefix}/lib/zypp
|
%{_prefix}/lib/zypp
|
||||||
%{_datadir}/zypp
|
%{_datadir}/zypp
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
%{_libexecdir}/zypp/zypp-rpm
|
||||||
%{_libdir}/libzypp*so.*
|
%{_libdir}/libzypp*so.*
|
||||||
%doc %{_mandir}/man1/*.1.*
|
%doc %{_mandir}/man1/*.1.*
|
||||||
%doc %{_mandir}/man5/*.5.*
|
%doc %{_mandir}/man5/*.5.*
|
||||||
@ -396,8 +412,9 @@ fi
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libzypp.so
|
%{_libdir}/libzypp.so
|
||||||
%{_includedir}/zypp
|
|
||||||
%{_datadir}/cmake/Modules/*
|
%{_datadir}/cmake/Modules/*
|
||||||
|
%{_includedir}/zypp
|
||||||
|
%{_includedir}/zypp-core
|
||||||
%{_libdir}/pkgconfig/libzypp.pc
|
%{_libdir}/pkgconfig/libzypp.pc
|
||||||
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user