From fd2faa95dafc37c12619cf03d841c6d52e75a5de Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Mon, 6 Feb 2023 10:50:19 +0800 Subject: [PATCH] remove versioned MODULE_COMPAT_ requires --- perl-Pod-Usage.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/perl-Pod-Usage.spec b/perl-Pod-Usage.spec index 52ed89e..0d5fdea 100644 --- a/perl-Pod-Usage.spec +++ b/perl-Pod-Usage.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: perl-Pod-Usage Epoch: 4 @@ -15,7 +15,6 @@ BuildRequires: perl(Cwd) perl(ExtUtils::MakeMaker) perl(File::Basename) pe BuildRequires: perl(Carp) perl(Config) perl(Exporter) perl-Pod-Perldoc perl(Pod::Text) perl(vars) #tests BuildRequires: perl(blib) perl(FileHandle) perl(Pod::PlainText) perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(File::Spec) perl-Pod-Perldoc perl(Pod::Text) %description @@ -25,6 +24,14 @@ of three levels of "verboseness": If the verbose level is 0, then only a synopsi the verbose level is 1, then the synopsis is printed along with a description (if present) of the command line options and arguments. If the verbose level is 2, then the entire manual page is printed. +%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 %autosetup -n Pod-Usage-%{version} -p1 @@ -40,13 +47,18 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 make test %files -%doc README Changes %{_bindir}/pod2usage %{perl_vendorlib}/* %{_mandir}/man1/* %{_mandir}/man3/* +%files doc +%doc README Changes + %changelog +* Mon Feb 06 2023 mgb01105731 - 4:2.03-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 4:2.03-2 - rebuild with perl 5.36.0 -- Gitee