From f3181657ead6acec2bb494b6ba5d7b6de0005ae2 Mon Sep 17 00:00:00 2001 From: happy_orange Date: Wed, 4 Jan 2023 15:39:20 +0800 Subject: [PATCH] add doc package --- initscripts.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index 74a948f..d5b244f 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 -- Gitee