From a5b038ed4d4ff0c40c1735bc6eb41fc3a3acb26c Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Fri, 14 Oct 2022 14:34:48 +0800 Subject: [PATCH] add doc package --- perl-Scalar-List-Utils.spec | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/perl-Scalar-List-Utils.spec b/perl-Scalar-List-Utils.spec index e39fcdf..7aa24e8 100644 --- a/perl-Scalar-List-Utils.spec +++ b/perl-Scalar-List-Utils.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: perl-Scalar-List-Utils Epoch: 5 @@ -54,6 +54,14 @@ would be nice to have in the perl core, but the usage would not really be high enough to warrant the use of a keyword, and the size so small such that being individual extensions would be wasteful. +%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 %setup -q -n Scalar-List-Utils-%{version} @@ -70,14 +78,19 @@ find %{buildroot} -type f -name '*.bs' -size 0 -delete make test %files -%doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/List* %{perl_vendorarch}/Scalar* %{perl_vendorarch}/Sub* %{_mandir}/man3/* +%files doc +%doc Changes README + %changelog +* Fri Oct 14 2022 mgb01105731 - 5:1.60-2 +- add doc package + * Wed Mar 09 2022 Hongwei Qin - 5:1.60-1 - Rebase to upstream version 1.60. - Init for Anolis OS 23 -- Gitee