From f90d81008fec11ec0d57fd1229585d841482dd34 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Wed, 8 Feb 2023 13:49:59 +0800 Subject: [PATCH] remove versioned MODULE_COMPAT_ requires --- perl-Devel-Size.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/perl-Devel-Size.spec b/perl-Devel-Size.spec index e11233d..0107258 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 -- Gitee