diff --git a/perl-Pod-Usage.spec b/perl-Pod-Usage.spec index f158c92a8df39a3f09b42436e363fd1bbfed20c1..e25ef396f357f769742f95bfe62513db0c413c6f 100644 --- a/perl-Pod-Usage.spec +++ b/perl-Pod-Usage.spec @@ -1,8 +1,10 @@ +%define anolis_release .0.1 + Name: perl-Pod-Usage # Compete with perl.spec's epoch Epoch: 4 Version: 1.69 -Release: 395%{?dist} +Release: 395%{anolis_release}%{?dist} Summary: Print a usage message from embedded POD documentation # License clarification CPAN RT#102529 License: GPL+ or Artistic @@ -59,6 +61,14 @@ If the verbose level is 1, then the synopsis is printed along with a description (if present) of the command line options and arguments. If the verbose level is 2, then the entire manual page is printed. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n Pod-Usage-%{version} # Remove bundled modules @@ -78,13 +88,18 @@ find $RPM_BUILD_ROOT -type f -name .packlist -delete make test %files -%doc CHANGES README %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man1/* %{_mandir}/man3/* +%files doc +%doc CHANGES README + %changelog +* Tue Jul 19 2022 Liwei Ge - 4:1.69-395.0.1 +- Add doc sub package + * Fri Feb 09 2018 Fedora Release Engineering - 4:1.69-395 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild