diff --git a/perl-Text-Glob.spec b/perl-Text-Glob.spec index 97e3bc4d5e6f11937a604b3e5d13acb75253fb8c..6bfefaa7adcad91ff892911f7b2c18a7cb30dd5e 100644 --- a/perl-Text-Glob.spec +++ b/perl-Text-Glob.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: perl-Text-Glob Version: 0.11 -Release: 4%{?dist} +Release: 4%{anolis_release}%{?dist} Summary: Perl module to match globbing patterns against text License: GPL+ or Artistic URL: http://search.cpan.org/dist/Text-Glob/ @@ -24,6 +26,14 @@ Text::Glob implements glob(3) style matching that can be used to match against text, rather than fetching names from a file-system. If you want to do full file globbing use the File::Glob module 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 Text-Glob-%{version} @@ -39,11 +49,16 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{__make} test %files -%doc Changes %{perl_vendorlib}/Text %{_mandir}/man3/* +%files doc +%doc Changes + %changelog +* Tue Jul 19 2022 Liwei Ge - 0.11-4.0.1 +- Add doc sub package + * Fri Feb 09 2018 Fedora Release Engineering - 0.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild