diff --git a/cpio.spec b/cpio.spec index 98826ff1f7f877c47de5221eb6bf77ced11ef9a2..25a1e22dde5ca8cd8ec91d7e1e31dbff8928749f 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