From a2070229045302d9830dd04956a443fe478fba53 Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Tue, 7 Feb 2023 11:51:12 +0800 Subject: [PATCH] rebuild with perl_bootstrap disabled Signed-off-by: Chunmei Xu --- perl-Sys-Syslog.spec | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/perl-Sys-Syslog.spec b/perl-Sys-Syslog.spec index 55f92ca..2f097dc 100644 --- a/perl-Sys-Syslog.spec +++ b/perl-Sys-Syslog.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 %bcond_without perl_Sys_Syslog_enables_optional_test Name: perl-Sys-Syslog @@ -6,7 +6,7 @@ Epoch: 1 Version: 0.36 Release: %{anolis_release}%{?dist} Summary: Perl interface to the UNIX syslog(3) calls -License: GPL+ or Artistic +License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Sys-Syslog Source0: https://cpan.metacpan.org/authors/id/S/SA/SAPER/Sys-Syslog-%{version}.tar.gz BuildRequires: coreutils @@ -48,7 +48,6 @@ BuildRequires: perl(Test::Pod::Coverage) >= 1.06 BuildRequires: perl(Test::Portability::Files) # POE::Component::Server::Syslog is not packaged yet %endif -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Fcntl) Requires: perl(XSLoader) @@ -57,6 +56,14 @@ Requires: perl(XSLoader) %description Sys::Syslog is an interface to the UNIX syslog(3) function. Call syslog() with a string priority and a list of printf() arguments just like at syslog(3). + +%package doc +Summary: Doc files for %{name} +Requires: %{name} = %{EVR} +BuildArch: noarch + +%description doc +Doc files for %{name} %prep %setup -q -n Sys-Syslog-%{version} @@ -85,12 +92,17 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete make test %files -%doc Changes eg README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Sys* %{_mandir}/man3/* + +%files doc +%doc Changes eg README %changelog +* Tue Feb 07 2023 Chunmei Xu - 1:0.36-3 +- rebuild with perl_bootstrap disabled + * Mon Jan 30 2023 Chunmei Xu - 1:0.36-2 - rebuild with perl 5.36.0 -- Gitee