diff --git a/perl-File-Path.spec b/perl-File-Path.spec index cb7fa4225a0b2189125811ee7db355b3d3f12e9b..48c8dd1003d86f882588be1fe738536e1badcf78 100644 --- a/perl-File-Path.spec +++ b/perl-File-Path.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: perl-File-Path Version: 2.18 @@ -23,6 +23,14 @@ This module provides a convenient way to create directories of arbitrary depth and to delete an entire directory subtree from the filesystem. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup -n File-Path-%{version} -p1 @@ -39,11 +47,15 @@ make test %files %defattr(-,root,root) -%doc README %{perl_vendorlib}/* -%doc Changes %{_mandir}/man3/* +%files doc +%doc README Changes + %changelog +* Sun Oct 09 2022 mgb01105731 - 2.18-2 +- add doc package + * Tue Mar 08 2022 Jacob Wang - 2.18-1 - Initial version from upstream 2.18