From 6c776d2ef7e3ac80bde2836113d60b394d7f6df4 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Mon, 6 Feb 2023 16:38:44 +0800 Subject: [PATCH] remove versioned MODULE_COMPAT_ requires --- perl-Module-Load.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/perl-Module-Load.spec b/perl-Module-Load.spec index 0775a38..588e67d 100644 --- a/perl-Module-Load.spec +++ b/perl-Module-Load.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: perl-Module-Load # Epoch to compete with perl.spec Epoch: 1 @@ -25,7 +25,6 @@ BuildRequires: perl(Exporter) BuildRequires: perl(lib) BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(vars) -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description If you consult "perldoc -f require" you will see that "require" will behave @@ -39,6 +38,14 @@ notation fitting the particular platform you are on. "load" eliminates the need for this overhead and will just DWYM. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{epoch}:%{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q -n Module-Load-%{version} @@ -55,11 +62,16 @@ unset PERL_CORE make test %files -%doc CHANGES README %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc CHANGES README + %changelog +* Mon Feb 06 2023 mgb01105731 - 1:0.36-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 1:0.36-2 - rebuild with perl 5.36.0 -- Gitee