diff --git a/unzip.spec b/unzip.spec index 2d1b620d29f8e6128e5abab7c1c4a960e96ed182..54edf66d127a6bfee6256327d8e64e916a58b1a4 100644 --- a/unzip.spec +++ b/unzip.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: unzip Epoch: 1 @@ -73,6 +73,14 @@ in some respects. Install the unzip package if you need to list, test or extract files from a zip archive. +%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 -n unzip60 -p1 @@ -88,10 +96,15 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT%{_ %files %license LICENSE COPYING.OLD -%doc README BUGS %{_bindir}/* %{_mandir}/*/* +%files doc +%doc README BUGS + %changelog +* Sun Oct 09 2022 mgb01105731 - 1:6.0-2 +- add doc package + * Thu Apr 21 2022 yuanhui - 1:6.0-1 - Init unzip for anolis os 23