diff --git a/perl-MRO-Compat.spec b/perl-MRO-Compat.spec index 643b3b6f2fbeb53105306684318bce1da3af00ae..e1282ef88bf580cc3134e0f8efaeefed05d285fd 100644 --- a/perl-MRO-Compat.spec +++ b/perl-MRO-Compat.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: perl-MRO-Compat Version: 0.15 Release: %{anolis_release}%{?dist} @@ -20,7 +20,6 @@ BuildRequires: perl(warnings) # Test BuildRequires: perl(Test::More) >= 0.47 # Dependencies -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description The "mro" namespace provides several utilities for dealing with method @@ -36,6 +35,14 @@ If you're writing a piece of software that would like to use the parts of 5.9.5+'s mro:: interfaces that are supported here, and you want compatibility with older Perls, this is the module for you. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q -n MRO-Compat-%{version} @@ -56,11 +63,17 @@ make test %files %license LICENSE -%doc Changes README t/ +%doc t/ %{perl_vendorlib}/MRO/ %{_mandir}/man3/MRO::Compat.3* +%files doc +%doc Changes README + %changelog +* Mon Feb 06 2023 mgb01105731 - 0.15-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 0.15-2 - rebuild with perl 5.36.0