diff --git a/perl-MRO-Compat.spec b/perl-MRO-Compat.spec index 6ecbe5caa29f1a92de13ac766d8f6dc083a8128f..4cc9ea8fe366e36c9b821bced9184904f80dbb6c 100644 --- a/perl-MRO-Compat.spec +++ b/perl-MRO-Compat.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + # MRO is part of the Perl core since 5.9.5 %if 0%{?fedora} < 9 && 0%{?rhel} < 6 %global mro_in_core 0 @@ -7,7 +9,7 @@ Name: perl-MRO-Compat Version: 0.13 -Release: 4%{?dist} +Release: 4%{anolis_release}%{?dist} Summary: Mro::* interface compatibility for Perls < 5.9.5 License: GPL+ or Artistic Group: Development/Libraries @@ -52,6 +54,14 @@ If you're writing a piece of software that would like to use the parts of 5.9.5+'s mro:: interfaces that are supported here, and you want compatibility with older Perls, this is the module for you. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n MRO-Compat-%{version} @@ -75,11 +85,16 @@ make test rm -rf %{buildroot} %files -%doc Changes README t/ %{perl_vendorlib}/MRO/ %{_mandir}/man3/MRO::Compat.3* +%files doc +%doc Changes README t/ + %changelog +* Tue Jul 19 2022 Liwei Ge - 0.13-4.0.1 +- Add doc sub package + * Thu Feb 08 2018 Fedora Release Engineering - 0.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild