diff --git a/initscripts.spec b/initscripts.spec index 74a948f499e83e451ca4ae171496d724aa1ebeca..d5b244f0de924ed4b236ee1a62c49abc96db4571 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %global shared_requirements \ Requires: bash \ @@ -161,6 +161,14 @@ support. Additional configuration is required after installation. Please note that readonly-root package is considered deprecated with limited support. Please use systemd-volatile-root functionality instead, if possible. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup -S git @@ -293,7 +301,13 @@ fi %{_libexecdir}/readonly-root %{_prefix}/lib/systemd/system/readonly-root.service +%files doc +%doc README.md + %changelog +* Wed Jan 04 2023 happy_orange - 10.17-3 +- add doc package + * Wed Oct 26 2022 mgb01105731 - 10.17-2 - optimise spec file