diff --git a/perl-libnet.spec b/perl-libnet.spec index 6618fc3ad40caa1a0042ef4bf7f1e867ac91203c..bfa58f6a5f97b57290060b712cdfe84ff1950762 100644 --- a/perl-libnet.spec +++ b/perl-libnet.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + # Run optional test %bcond_without perl_libnet_enables_optional_test # SASL support @@ -7,7 +9,7 @@ Name: perl-libnet Version: 3.11 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} Summary: Perl clients for various network protocols # other files: GPL+ or Artistic ## Not in binary packages @@ -108,6 +110,14 @@ This is a collection of Perl modules which provides a simple and consistent programming interface (API) to the client side of various protocols used in the internet community. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n libnet-%{version} # Provide dummy Net::libnetFAQ document, CPAN RT#117888 @@ -128,11 +138,16 @@ make test %files %license Artistic Copying LICENCE -%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc Changes README + %changelog +* Tue Jul 19 2022 Liwei Ge - 3.11-3.0.1 +- Add doc sub package + * Fri Feb 09 2018 Fedora Release Engineering - 3.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild