diff --git a/perl-PathTools.spec b/perl-PathTools.spec index 18e25505c3d424ee9f80d818b582ed298acd89cd..c3abbdc83b52b633b6c613e7ad09934462ebe70e 100644 --- a/perl-PathTools.spec +++ b/perl-PathTools.spec @@ -1,6 +1,8 @@ +%define anolis_release 2 + Name: perl-PathTools Version: 3.75 -Release: 1%{?dist} +Release: %{anolis_release}%{?dist} Summary: PathTools Perl module (Cwd, File::Spec) # Cwd.xs: BSD # other files: GPL+ or Artistic @@ -49,6 +51,14 @@ Recommends: perl(XSLoader) %description This is the combined distribution for the File::Spec and Cwd modules. +%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 %setup -q -n PathTools-%{version} %patch0 -p1 @@ -70,12 +80,17 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete make test %files -%doc Changes %{perl_vendorarch}/auto/* %{perl_vendorarch}/Cwd.pm %{perl_vendorarch}/File/ %{_mandir}/man3/* +%files doc +%doc Changes + %changelog +* Fri Oct 14 2022 mgb01105731 - 3.75-2 +- add doc package + * Thu Mar 10 2022 Yaobin Shi - 3.75-1 - Init for Anolis OS 23