diff --git a/perl-Storable.spec b/perl-Storable.spec index 9d6c60c48d163699eafa73a87c2a42f166485267..8eeba993bda3459167e4edf99fb9181f703f51ac 100644 --- a/perl-Storable.spec +++ b/perl-Storable.spec @@ -1,7 +1,9 @@ +%define anolis_release .0.1 + Name: perl-Storable Epoch: 1 Version: 3.11 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} Summary: Persistence for Perl data structures # __Storable__.pm: GPL+ or Artistic ## Not in the binary packages @@ -75,6 +77,14 @@ The Storable package brings persistence to your Perl data structures containing scalar, array, hash or reference objects, i.e. anything that can be conveniently stored to disk and retrieved at a later time. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n Storable-%{version} @@ -93,12 +103,17 @@ unset PERL_TEST_MEMORY PERL_RUN_SLOW_TESTS make test %files -%doc ChangeLog README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Storable* %{_mandir}/man3/* +%files doc +%doc ChangeLog README + %changelog +* Tue Jul 19 2022 Liwei Ge - 1:3.11-3.0.1 +- Add doc sub package + * Mon Jan 07 2019 Petr Pisar - 1:3.11-3 - Storable-3.11 source archive repackaged without a t/CVE-2015-1592.inc file (bug #1663711)