diff --git a/libdaemon.spec b/libdaemon.spec index de8a8ec7090d2b9be83ba24268ead736d0bc1806..927361d51b528368e19fad8d532347194bb7e850 100644 --- a/libdaemon.spec +++ b/libdaemon.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: libdaemon Version: 0.14 Release: %{anolis_release}%{?dist} @@ -24,6 +24,14 @@ It consists of the following parts: * An API for running subprocesses with STDOUT and STDERR redirected to syslog. +%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 Group: Development/Libraries Summary: Libraries and header files for libdaemon development @@ -54,9 +62,12 @@ rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/style.css %files %defattr(-,root,root,-) -%doc LICENSE README +%doc LICENSE %{_libdir}/*so.* +%files doc +%doc README + %files devel %defattr(-,root,root,-) %doc doc/README.html doc/style.css @@ -65,6 +76,9 @@ rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/style.css %{_libdir}/pkgconfig/*.pc %changelog +* Sun Oct 09 2022 mgb01105731 - 0.14-2 +- add doc package + * Thu Mar 10 2022 mgb01105731 - 0.14-1 - Init from upstream version 0.14