diff --git a/perl-Module-Load.spec b/perl-Module-Load.spec index cacb4821adabac130ccddfc91a798b5efbe9655d..1c6132d498108e34a12578bfcda6051e46d1f0c7 100644 --- a/perl-Module-Load.spec +++ b/perl-Module-Load.spec @@ -1,8 +1,10 @@ +%define anolis_release .0.1 + Name: perl-Module-Load # Epoch to compete with perl.spec Epoch: 1 Version: 0.32 -Release: 395%{?dist} +Release: 395%{anolis_release}%{?dist} Summary: Run-time require of both modules and files License: GPL+ or Artistic Group: Development/Libraries @@ -36,6 +38,14 @@ notation fitting the particular platform you are on. "load" eliminates the need for this overhead and will just DWYM. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n Module-Load-%{version} @@ -52,11 +62,16 @@ find '%{buildroot}' -type f -name .packlist -exec rm -f {} + make test %files -%doc CHANGES README %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc CHANGES README + %changelog +* Tue Jul 19 2022 Liwei Ge - 1:0.32-395.0.1 +- Add doc sub package + * Thu Feb 08 2018 Fedora Release Engineering - 1:0.32-395 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild