Split out a cmocka-doc package
This commit is contained in:
parent
54ef563a62
commit
b163a84b0b
17
cmocka.spec
17
cmocka.spec
@ -1,6 +1,6 @@
|
|||||||
Name: cmocka
|
Name: cmocka
|
||||||
Version: 1.1.5
|
Version: 1.1.5
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Summary: An elegant unit testing framework for C with support for mock objects
|
Summary: An elegant unit testing framework for C with support for mock objects
|
||||||
@ -80,6 +80,14 @@ Conflicts: cmockery2-devel
|
|||||||
%description -n libcmocka-devel
|
%description -n libcmocka-devel
|
||||||
Development headers for the cmocka unit testing library.
|
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
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
@ -115,7 +123,6 @@ ln -s libcmocka.so %{buildroot}%{_libdir}/libcmockery.so
|
|||||||
%{_libdir}/libcmocka-static.a
|
%{_libdir}/libcmocka-static.a
|
||||||
|
|
||||||
%files -n libcmocka-devel
|
%files -n libcmocka-devel
|
||||||
%doc %{__cmake_builddir}/doc/html
|
|
||||||
%{_includedir}/cmocka.h
|
%{_includedir}/cmocka.h
|
||||||
%{_includedir}/cmocka_pbc.h
|
%{_includedir}/cmocka_pbc.h
|
||||||
%{_includedir}/cmockery/cmockery.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-version.cmake
|
||||||
%{_libdir}/cmake/cmocka/cmocka-config.cmake
|
%{_libdir}/cmake/cmocka/cmocka-config.cmake
|
||||||
|
|
||||||
|
%files -n cmocka-doc
|
||||||
|
%doc %{__cmake_builddir}/doc/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 19 2021 Andreas Schneider <asn@redhat.com> - 1.1.5-9
|
||||||
|
- Split out a cmocka-doc package
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-8
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user