diff --git a/perl-Module-Load-Conditional.spec b/perl-Module-Load-Conditional.spec index 977b621f2bc5f85385432b0ad610e8a75f948f03..a7529d5bdee4e7e73c4db1dbe61dab6eb1aefd58 100644 --- a/perl-Module-Load-Conditional.spec +++ b/perl-Module-Load-Conditional.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: perl-Module-Load-Conditional Version: 0.68 -Release: 395%{?dist} +Release: 395%{anolis_release}%{?dist} Summary: Looking up module information and loading at run-time License: GPL+ or Artistic URL: http://search.cpan.org/dist/Module-Load-Conditional/ @@ -47,6 +49,14 @@ Requires: perl(version) >= 0.69 This module provides simple ways to query and possibly load any of the modules you have installed on your system during run-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 Module-Load-Conditional-%{version} @@ -63,11 +73,16 @@ find %{buildroot} -type f -name .packlist -delete make test %files -%doc CHANGES README %{perl_vendorlib}/Module/ %{_mandir}/man3/Module::Load::Conditional.3* +%files doc +%doc CHANGES README + %changelog +* Tue Jul 19 2022 Liwei Ge - 0.68-395.0.1 +- Add doc sub package + * Thu Feb 08 2018 Fedora Release Engineering - 0.68-395 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild