diff --git a/perl-Importer.spec b/perl-Importer.spec index 8d6456a53ad6a03c5cdd22b4a620f90f6ef290d7..f429491ea106c0740e24f0a10cd8250134531285 100644 --- a/perl-Importer.spec +++ b/perl-Importer.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: perl-Importer Version: 0.026 @@ -19,7 +19,6 @@ BuildRequires: perl(warnings) BuildRequires: perl(base) BuildRequires: perl(Exporter) BuildRequires: perl(Test::More) >= 0.98 -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This Perl module acts as a layer between Exporter and modules which consume @@ -29,6 +28,14 @@ Exporters specification. The exporter modules themselves do not need to use or inherit from the Exporter module, they just need to set @EXPORT and/or other variables. +%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 Importer-%{version} @@ -45,11 +52,16 @@ make test %files %license LICENSE -%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc Changes README + %changelog +* Mon Feb 06 2023 mgb01105731 - 0.026-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 0.026-2 - rebuild with perl 5.36.0