diff --git a/perl-File-Which.spec b/perl-File-Which.spec index 687e7e4a9fdf8d8c13860c6ca002293d9af53e23..1f77762b49d15d42599c7abbe8d63c27964fe632 100644 --- a/perl-File-Which.spec +++ b/perl-File-Which.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: perl-File-Which Version: 1.27 @@ -22,7 +22,6 @@ BuildRequires: perl(warnings) BuildRequires: perl(Env) BuildRequires: perl(Config) BuildRequires: perl(Test::More) >= 0.80 -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(File::Spec) >= 0.60 # Remove under-specified dependencies @@ -33,6 +32,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: Documentation files for %{name} +Requires: %{name} = %{EVR} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q -n File-Which-%{version} @@ -49,11 +56,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 Feb 07 2023 mgb01105731 - 1.27-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 1.27-2 - rebuild with perl 5.36.0