From c334f2608d7758431375c78b7d0325cc6d743c2d Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Tue, 7 Feb 2023 10:36:28 +0800 Subject: [PATCH] remove versioned MODULE_COMPAT_ requires --- perl-IO-Compress-Lzma.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/perl-IO-Compress-Lzma.spec b/perl-IO-Compress-Lzma.spec index 65c7469..11f1eeb 100644 --- a/perl-IO-Compress-Lzma.spec +++ b/perl-IO-Compress-Lzma.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 # Perform optional tests %bcond_with perl_IO_Compress_Lzma_enables_optional_test @@ -58,12 +58,19 @@ BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: /usr/bin/7z %endif # Runtime -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This distribution provides a Perl interface to allow reading and writing of compressed data created with the lzma library. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{EVR} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q -n IO-Compress-Lzma-%{version} @@ -91,7 +98,6 @@ find %{buildroot} -type f -name .packlist -delete make test COMPRESS_ZLIB_RUN_MOST=1 %files -%doc Changes README examples/* %{perl_vendorlib}/IO/ %{_mandir}/man3/IO::Compress::Lzip.3* %{_mandir}/man3/IO::Compress::Lzma.3* @@ -100,7 +106,13 @@ make test COMPRESS_ZLIB_RUN_MOST=1 %{_mandir}/man3/IO::Uncompress::UnLzma.3* %{_mandir}/man3/IO::Uncompress::UnXz.3* +%files doc +%doc Changes README examples/* + %changelog +* Tue Feb 07 2023 mgb01105731 - 2.103-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 2.103-2 - rebuild with perl 5.36.0 -- Gitee