From b163a84b0b0eb129b0207f0971bbd0c32ffd437b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 19 Apr 2021 09:36:45 +0200 Subject: [PATCH] Split out a cmocka-doc package --- cmocka.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/cmocka.spec b/cmocka.spec index 9364a7d..1575e9f 100644 --- a/cmocka.spec +++ b/cmocka.spec @@ -1,6 +1,6 @@ Name: cmocka Version: 1.1.5 -Release: 8%{?dist} +Release: 9%{?dist} License: ASL 2.0 Summary: An elegant unit testing framework for C with support for mock objects @@ -80,6 +80,14 @@ Conflicts: cmockery2-devel %description -n libcmocka-devel Development headers for the cmocka unit testing library. +%package -n cmocka-doc +Summary: API documentation for the cmocka unit testing framework +BuildArch: noarch + +%description -n cmocka-doc +This package provides the API documentation for the cmocka unit testing +framework. + %prep %autosetup -p1 @@ -115,7 +123,6 @@ ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so %{_libdir}/libcmocka-static.a %files -n libcmocka-devel -%doc %{__cmake_builddir}/doc/html %{_includedir}/cmocka.h %{_includedir}/cmocka_pbc.h %{_includedir}/cmockery/cmockery.h @@ -126,7 +133,13 @@ ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so %{_libdir}/cmake/cmocka/cmocka-config-version.cmake %{_libdir}/cmake/cmocka/cmocka-config.cmake +%files -n cmocka-doc +%doc %{__cmake_builddir}/doc/html + %changelog +* Mon Apr 19 2021 Andreas Schneider - 1.1.5-9 +- Split out a cmocka-doc package + * Tue Jan 26 2021 Fedora Release Engineering - 1.1.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild