Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cmocka for openSUSE:Factory checked 
in at 2023-09-02 22:07:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cmocka (Old)
 and      /work/SRC/openSUSE:Factory/.cmocka.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cmocka"

Sat Sep  2 22:07:01 2023 rev:21 rq:1108441 version:1.1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/cmocka/cmocka.changes    2023-05-06 
22:08:39.380537920 +0200
+++ /work/SRC/openSUSE:Factory/.cmocka.new.1766/cmocka.changes  2023-09-02 
22:07:02.277944956 +0200
@@ -1,0 +2,8 @@
+Wed Aug 23 06:30:05 UTC 2023 - Martin Wilck <[email protected]>
+
+- split off -doc and -cmake subpackages, which aren't necessary
+  for basic development with cmocka, to avoid pulling in the
+  entire cmake-full package (38MB) with libcmocka-devel
+- minor simplifications in spec file
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cmocka.spec ++++++
--- /var/tmp/diff_new_pack.47Iw2o/_old  2023-09-02 22:07:04.626028861 +0200
+++ /var/tmp/diff_new_pack.47Iw2o/_new  2023-09-02 22:07:04.630029004 +0200
@@ -88,13 +88,32 @@
 %package -n libcmocka-devel
 Summary:        Development headers for the cmocka library
 Group:          Development/Libraries/C and C++
-Requires:       cmake
 Requires:       libcmocka0 = %{version}
 Requires:       pkg-config
+Requires:       (libcmocka-cmake if cmake)
 
 %description -n libcmocka-devel
 Development headers for the cmocka unit testing library.
 
+%package -n libcmocka-doc
+Summary:        Documentation for the cmocka library
+Group:          Development/Libraries/C and C++
+Enhances:       libcmocka-devel
+Provides:       libcmocka-devel:%{_defaultdocdir}/libcmocka-devel
+
+%description -n libcmocka-doc
+Documentation for the cmocka unit testing library.
+
+%package -n libcmocka-cmake
+Summary:        cmake support for the cmocka library
+Group:          Development/Libraries/C and C++
+Requires:       libcmocka-devel = %{version}
+Requires:       cmake
+Provides:       libcmocka-devel:%{_libdir}/cmake/cmocka
+
+%description -n libcmocka-cmake
+cmake support for developing with the cmocka unit testing library.
+
 %prep
 %autosetup -p1
 
@@ -130,20 +149,18 @@
 %{_libdir}/libcmocka.so.*
 
 %files -n libcmocka-devel
-%if %{with docs}
-%doc build/doc/html
-#endif with docs
-%endif
 %{_includedir}/cmocka.h
 %{_includedir}/cmocka_pbc.h
-%dir %{_includedir}/cmockery
-%{_includedir}/cmockery/cmockery.h
-%{_includedir}/cmockery/pbc.h
+%{_includedir}/cmockery
 %{_libdir}/libcmocka.so
 %{_libdir}/pkgconfig/cmocka.pc
-%dir %{_libdir}/cmake/cmocka
-%{_libdir}/cmake/cmocka/cmocka-config-relwithdebinfo.cmake
-%{_libdir}/cmake/cmocka/cmocka-config-version.cmake
-%{_libdir}/cmake/cmocka/cmocka-config.cmake
+
+%if %{with docs}
+%files -n libcmocka-doc
+%doc build/doc/html
+%endif
+
+%files -n libcmocka-cmake
+%{_libdir}/cmake/cmocka
 
 %changelog

Reply via email to