From 534e821e0657e089087ad1fe2d0262d019781eb3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 24 Jun 2021 14:53:42 +0200 Subject: [PATCH] Split out a cmocka-doc package resolves: rhbz#1915369 --- cmocka.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/cmocka.spec b/cmocka.spec index 76bb9e6..fef3803 100644 --- a/cmocka.spec +++ b/cmocka.spec @@ -1,6 +1,6 @@ Name: cmocka Version: 1.1.5 -Release: 9%{?dist} +Release: 10%{?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 +* Thu Jun 24 2021 Andreas Schneider - 1.1.5-10 +- resolves: rhbz#1915369 - Split out a cmocka-doc package + * Thu Apr 15 2021 Mohan Boddu - 1.1.5-9 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937