diff --git a/perl-Compress-Bzip2.spec b/perl-Compress-Bzip2.spec index 2c9295d83c299fb9c06dd34d06c28c97896d079a..de4a551866f76b53ad99f81c8b1cc11677986cb5 100644 --- a/perl-Compress-Bzip2.spec +++ b/perl-Compress-Bzip2.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + # Run optional tests %if ! (0%{?rhel}) %bcond_without perl_Compress_Bzip2_enables_optional_test @@ -7,7 +9,7 @@ Name: perl-Compress-Bzip2 Version: 2.26 -Release: 6%{?dist} +Release: 6%{anolis_release}%{?dist} Summary: Interface to Bzip2 compression library # bzlib-src/win-tst-dlltest.c (unbundled): Public Domain # bzlib-src/LICENSE (unbundled): BSD @@ -62,6 +64,14 @@ library. A relevant subset of the functionality provided by Bzip2 is available in Compress::Bzip2. Compress::Bzip2 is not well integrated into PerlIO, use the preferred IO::Compress::Bzip2 instead. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n Compress-Bzip2-%{version} # Remove bundled bzip2 library @@ -83,12 +93,17 @@ make test %files %license COPYING -%doc ANNOUNCE Changes NEWS README.md %{perl_vendorarch}/Compress/ %{perl_vendorarch}/auto/Compress/ %{_mandir}/man3/*.3pm* +%files doc +%doc ANNOUNCE Changes NEWS README.md + %changelog +* Tue Jul 19 2022 Liwei Ge - 2.26-6.0.1 +- Add doc sub package + * Thu Feb 08 2018 Fedora Release Engineering - 2.26-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild