diff --git a/perl-File-Path.spec b/perl-File-Path.spec index 13992a02897591c619350acdc9ed21a018490d6b..358bf203b73ec80d28c84fd48a496b7bc45269df 100644 --- a/perl-File-Path.spec +++ b/perl-File-Path.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: perl-File-Path Version: 2.15 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} Summary: Create or remove directory trees License: GPL+ or Artistic URL: http://search.cpan.org/dist/File-Path/ @@ -39,6 +41,14 @@ Requires: perl(Carp) This module provides a convenient way to create directories of arbitrary depth and to delete an entire directory subtree from the file system. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n File-Path-%{version} @@ -54,11 +64,16 @@ make pure_install DESTDIR=$RPM_BUILD_ROOT make test %files -%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc Changes README + %changelog +* Tue Jul 19 2022 Liwei Ge - 2.15-2.0.1 +- Add doc sub package + * Thu Feb 08 2018 Fedora Release Engineering - 2.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild