diff --git a/tar.spec b/tar.spec index b1daf276b2107e6f1e6346d3eb98dc018dcaf319..653072bade7ab931c0f75464b6cf54c04cc350ef 100644 --- a/tar.spec +++ b/tar.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %bcond_without selinux %bcond_without check @@ -44,6 +44,13 @@ backups. If you want to use tar for remote backups, you also need to install the rmt package on the remote box. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{epoch}:%{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. %prep %autosetup @@ -99,15 +106,19 @@ make check || ( %files -f %{name}.lang %license COPYING -%doc AUTHORS README THANKS NEWS ChangeLog %{_bindir}/tar %{_bindir}/gtar %{_mandir}/man1/tar.1* %{_mandir}/man1/gtar.1* %{_infodir}/tar.info* +%files doc +%doc AUTHORS README THANKS NEWS ChangeLog %changelog +* Mon Oct 10 2022 mgb01105731 - 1.34-2 +- add doc package + * Wed Mar 09 2022 Hongwei Qin - 1.34-1 - Rebase to version 1.34 - Init for Anolis OS 23