diff --git a/satyr.spec b/satyr.spec index e204c6012443704fabc24624e6f26b9c49ff0da5..6fc62f4eafd749b2814afde921f5850e8b7580f4 100644 --- a/satyr.spec +++ b/satyr.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: satyr Version: 0.39 @@ -38,6 +38,14 @@ potentially sensitive data to eliminate the need for review before submission. Included is a tool that can create microreports and perform some basic operations on them. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package devel Summary: Development libraries for %{name} Requires: %{name} = %{version}-%{release} @@ -69,16 +77,19 @@ Python 3 bindings for %{name}. find %{buildroot} -name "*.la" -delete +rm -f %{buildroot}%{_docdir}/%{name}/README.md %check make check %files %license COPYING -%doc README.md NEWS %{_bindir}/satyr %{_mandir}/man1/%{name}.1* %{_libdir}/lib*.so.* +%files doc +%doc README.md NEWS + %files devel %doc apidoc/html/*.{html,png,css,js} %{_includedir}/* @@ -90,5 +101,8 @@ make check %{python3_sitearch}/%{name}/* %changelog +* Sun Oct 09 2022 mgb01105731 - 0.39-2 +- add doc package + * Fri Apr 15 2022 happy_orange - 0.39-1 - Init package from upstream