diff --git a/perl-Sys-Syslog.spec b/perl-Sys-Syslog.spec index db4af6ef63534bde974e890b81c25a2dbce3edd3..90483da97b4851d94de6479005e8507d14f170d7 100644 --- a/perl-Sys-Syslog.spec +++ b/perl-Sys-Syslog.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + # Run optional tests %if ! (0%{?rhel}) %bcond_without perl_Sys_Syslog_enables_optional_test @@ -6,7 +8,7 @@ %endif Name: perl-Sys-Syslog Version: 0.35 -Release: 397%{?dist} +Release: 397%{anolis_release}%{?dist} Summary: Perl interface to the UNIX syslog(3) calls # README: GPL+ or Artistic # ppport.h: GPL+ or Artistic @@ -70,6 +72,14 @@ Requires: perl(XSLoader) 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: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n Sys-Syslog-%{version} @@ -98,12 +108,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 Jul 19 2022 Liwei Ge - 0.35-397.0.1 +- Add doc sub package + * Fri Feb 09 2018 Fedora Release Engineering - 0.35-397 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild