diff --git a/perl-Module-Load.spec b/perl-Module-Load.spec index 0775a384584f90db84a9693ed47e429052ba0ebb..588e67dc6f0f87e53bd208541a8f18de9d60349b 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