Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libcbor for openSUSE:Factory checked in at 2021-12-12 21:27:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcbor (Old) and /work/SRC/openSUSE:Factory/.libcbor.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcbor" Sun Dec 12 21:27:33 2021 rev:3 rq:936282 version:0.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libcbor/libcbor.changes 2020-09-25 16:20:54.679326018 +0200 +++ /work/SRC/openSUSE:Factory/.libcbor.new.2520/libcbor.changes 2021-12-12 21:28:04.920358336 +0100 @@ -1,0 +2,17 @@ +Tue Dec 7 15:27:11 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- fix duplicate src package name issue on multibuild + +------------------------------------------------------------------- +Sun Dec 5 09:42:57 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- update to 0.9.0: + * Improved pkg-config paths handling + * Use explicit math.h linkage + * BREAKING: Fixed handling of items that exceed the host size_t range + * cbor_decode explicitly checks size to avoid overflows (previously broken, + potentially resulting in erroneous decoding on affected systems) +- split docs into multibuild flavor to avoid build cycle via openssh<-> + python-pyOpenSSL <-> python-cryptography + +------------------------------------------------------------------- Old: ---- libcbor-0.8.0.tar.gz New: ---- _multibuild v0.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcbor.spec ++++++ --- /var/tmp/diff_new_pack.A0sIsn/_old 2021-12-12 21:28:05.448358648 +0100 +++ /var/tmp/diff_new_pack.A0sIsn/_new 2021-12-12 21:28:05.448358648 +0100 @@ -1,7 +1,7 @@ # -# spec file for package libcbor +# spec file for package libcbor-doc # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,32 @@ %define socurrent 0 -%define sorevision 8 +%define sorevision 9 %define soage 0 - %define lname libcbor%{socurrent}_%{sorevision} - +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "doc" +Name: libcbor-doc +%else Name: libcbor -Version: 0.8.0 +%endif +Version: 0.9.0 Release: 0 Summary: Library for parsing Concise Binary Object Representation (CBOR) License: MIT Group: Development/Libraries/C and C++ -URL: http://libcbor.org -Source0: https://github.com/PJK/libcbor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: cmake +URL: https://github.com/PJK/libcbor +Source0: https://github.com/PJK/libcbor/archive/v%{version}.tar.gz +%if "%{flavor}" == "doc" BuildRequires: doxygen +BuildRequires: python3-Sphinx +BuildRequires: python3-breathe +%else +BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libcmocka-devel BuildRequires: ninja -BuildRequires: python3-Sphinx -BuildRequires: python3-breathe -BuildRequires: valgrind +%endif %description libcbor is a C99 library for parsing and generating CBOR (RFC 7049), @@ -67,29 +72,40 @@ The libcbor-devel contains libraries and header files for libcbor. %prep -%autosetup +%autosetup -n libcbor-%{version} sed -i 's|${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig|${CMAKE_INSTALL_LIBDIR}/pkgconfig|' src/CMakeLists.txt %build -make %{?_smp_mflags} -C doc man +%if "%{flavor}" == "doc" +%make_build -C doc man +%else %define __builder ninja %cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON %cmake_build +%endif %install -%cmake_install - +%if "%{flavor}" == "doc" mkdir -p %{buildroot}%{_mandir}/man1 cp doc/build/man/* %{buildroot}%{_mandir}/man1 +%else + +%cmake_install +%endif %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig -%files -n %{lname} +%if "%{flavor}" == "doc" +%files %doc CHANGELOG.md README.md -%license LICENSE.md %{_mandir}/*/* + +%else + +%files -n %{lname} +%license LICENSE.md %{_libdir}/libcbor.so.%{socurrent}.%{sorevision} %{_libdir}/libcbor.so.%{socurrent}.%{sorevision}.%{soage} @@ -101,5 +117,6 @@ %{_includedir}/cbor/internal/*.h %{_libdir}/libcbor.so %{_libdir}/pkgconfig/libcbor.pc +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>doc</package> </multibuild>