diff --git a/perl-Sys-Syslog.spec b/perl-Sys-Syslog.spec index 55f92caf280cc5ddf74eaeec67e767b93b90d206..2f097dc166d5462463995f03058128b101b045bc 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