From 813eef7f99356d1b4e95d5541e2ac794b534469c Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Sun, 9 Oct 2022 16:44:06 +0800 Subject: [PATCH] add doc package --- cpio.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/cpio.spec b/cpio.spec index 98826ff..25a1e22 100644 --- a/cpio.spec +++ b/cpio.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Summary: A GNU archiving program Name: cpio Version: 2.13 @@ -34,6 +34,14 @@ and can read archives created on machines with a different byte-order. Install cpio if you need a program to manage file archives. +%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 -p1 @@ -65,14 +73,19 @@ make check || { %files -f %{name}.lang -%doc AUTHORS ChangeLog NEWS README THANKS TODO %{!?_licensedir:%global license %%doc} %license COPYING %{_bindir}/* %{_mandir}/man*/* %{_infodir}/*.info* +%files doc +%doc AUTHORS ChangeLog NEWS README THANKS TODO + %changelog +* Sun Oct 09 2022 mgb01105731 - 2.13-2 +- add doc package + * Tue Mar 08 2022 pangqing - 2.13-1 - Init for anolisOS 23 -- Gitee