diff --git a/perl-Devel-Size.spec b/perl-Devel-Size.spec index e11233dbcd03c9629d4fffea10604f7a26982f50..010725807e1aa98b3f0ee76938470c38cea9ccb4 100644 --- a/perl-Devel-Size.spec +++ b/perl-Devel-Size.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %bcond_with perl_Devel_Size_enables_optional_test Name: perl-Devel-Size @@ -37,7 +37,6 @@ BuildRequires: perl(Test::Pod::Coverage) >= 1.08 # Required by t/warnings.t, but not on CPAN #BuildRequires: perl(Test::PerlRun) %endif -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %?perl_default_filter @@ -47,6 +46,14 @@ functions with a reference to the variable you want the size of. If the variable is a plain scalar it returns the size of the scalar. If the variable is a hash or an array, use a reference when calling. +%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 Devel-Size-%{version} @@ -63,12 +70,17 @@ find %{buildroot} -type f -name '*.bs' -size 0 -delete make test %files -%doc CHANGES %{perl_vendorarch}/auto/* %{perl_vendorarch}/Devel* %{_mandir}/man3/* +%files doc +%doc CHANGES + %changelog +* Wed Feb 08 2023 mgb01105731 - 1:0.83-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 1:0.83-2 - rebuild with perl 5.36.0