From 6a3364c4d98e2d9151442082b333517e8d65cbfc Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Tue, 7 Feb 2023 15:04:46 +0800 Subject: [PATCH] rebuild with perl_bootstrap disabled Signed-off-by: Chunmei Xu --- perl-Compress-Raw-Zlib.spec | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/perl-Compress-Raw-Zlib.spec b/perl-Compress-Raw-Zlib.spec index 213c027..87dd097 100644 --- a/perl-Compress-Raw-Zlib.spec +++ b/perl-Compress-Raw-Zlib.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %bcond_without perl_Compress_Raw_Zlib_enables_optional_test @@ -6,11 +6,11 @@ Name: perl-Compress-Raw-Zlib Version: 2.202 Release: %{anolis_release}%{?dist} Summary: Low-level interface to the zlib compression library -# Zlib.xs: (GPL+ or Artistic) and zlib -# Others: GPL+ or Artistic +# Zlib.xs: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Zlib +# Others: GPL-1.0-or-later OR Artistic-1.0-Perl ## Not used to produce binary packages -# zlib-src: zlib -License: (GPL+ or Artistic) and zlib +# zlib-src: Zlib +License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Zlib URL: https://metacpan.org/release/Compress-Raw-Zlib Source0: https://cpan.metacpan.org/modules/by-module/Compress/Compress-Raw-Zlib-%{version}.tar.gz # Module Build @@ -57,7 +57,6 @@ BuildRequires: perl(Test::NoWarnings) %endif %endif # Runtime -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(XSLoader) # Don't "provide" private Perl libs @@ -79,7 +78,7 @@ compression library, which is used by IO::Compress::Zlib. %package tests Summary: Tests for %{name} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name} = %{EVR} Requires: perl-Test-Harness %if %{with perl_Compress_Raw_Zlib_enables_optional_test} # Optional Tests @@ -95,6 +94,14 @@ Requires: perl(Test::NoWarnings) Tests from %{name}-%{version}. Execute them with "%{_libexecdir}/%{name}/test". +%package doc +Summary: Doc files for %{name} +Requires: %{name} = %{EVR} +BuildArch: noarch + +%description doc +Doc files for %{name} + %prep %setup -q -n Compress-Raw-Zlib-%{version} # Remove bundled zlib @@ -150,7 +157,6 @@ export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print make test COMPRESS_ZLIB_RUN_MOST=1 %files -%doc Changes README %{perl_vendorarch}/auto/Compress/ %{perl_vendorarch}/Compress/ %{_mandir}/man3/Compress::Raw::Zlib.3* @@ -158,7 +164,13 @@ make test COMPRESS_ZLIB_RUN_MOST=1 %files tests %{_libexecdir}/%{name} +%files doc +%doc Changes README + %changelog +* Tue Feb 07 2023 Chunmei Xu - 2.202-3 +- rebuild with perl_bootstrap disabled + * Mon Jan 30 2023 Chunmei Xu - 2.202-2 - rebuild with perl 5.36.0 -- Gitee