diff --git a/perl-inc-latest.spec b/perl-inc-latest.spec index fdf1ee97f323253eccd663c4f51d3f70777018a0..0deb641518f4c6d40508000947aa807bcf863a42 100644 --- a/perl-inc-latest.spec +++ b/perl-inc-latest.spec @@ -1,7 +1,9 @@ +%define anolis_release .0.1 + Name: perl-inc-latest Epoch: 2 Version: 0.500 -Release: 9%{?dist} +Release: 9%{anolis_release}%{?dist} Summary: Use modules bundled in inc/ if they are newer than installed ones License: ASL 2.0 Group: Development/Libraries @@ -25,6 +27,14 @@ The inc::latest module helps bootstrap configure-time dependencies for CPAN distributions. These dependencies get bundled into the inc directory within a distribution and are used by Makefile.PL or Build.PL. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n inc-latest-%{version} @@ -42,11 +52,16 @@ make test %files %license LICENSE -%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc Changes README + %changelog +* Tue Jul 19 2022 Liwei Ge - 2:0.500-9.0.1 +- Add doc sub package + * Fri Feb 09 2018 Fedora Release Engineering - 2:0.500-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild