diff --git a/perl-Pod-Usage.spec b/perl-Pod-Usage.spec index 52ed89eab2779c8031abfb76b37ea2e8e7c208e0..0d5fdeac7a007238a7c26b6d9a2e012d49285ab5 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