From cf24a5952f8f99f55bddf728e011240cbddead35 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Sun, 9 Oct 2022 13:16:49 +0800 Subject: [PATCH] add doc package --- unzip.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/unzip.spec b/unzip.spec index 2d1b620..54edf66 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 -- Gitee