diff --git a/perl-File-Which.spec b/perl-File-Which.spec index 4d63a25db0d497fb495b6db045d6e97c4a3268b5..d8e2b3dcfb09c6cd1638af2d39815c72d3375bda 100644 --- a/perl-File-Which.spec +++ b/perl-File-Which.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: perl-File-Which Version: 1.22 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} Summary: Portable implementation of the 'which' utility Group: Development/Libraries License: GPL+ or Artistic @@ -31,6 +33,14 @@ File::Which is a portable implementation (in Perl) of 'which', and can be used to get the absolute filename of an executable program installed somewhere in your PATH, or just check for its existence. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n File-Which-%{version} @@ -47,11 +57,16 @@ chmod -R u+w %{buildroot} make test %files -%doc Changes README %{perl_vendorlib}/File/ %{_mandir}/man3/File::Which.3* +%files doc +%doc Changes README + %changelog +* Tue Jul 19 2022 Liwei Ge - 1.22-2.0.1 +- Add doc sub package + * Thu Feb 08 2018 Fedora Release Engineering - 1.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild