diff --git a/perl-podlators.spec b/perl-podlators.spec index 50bb0c0280a983f1437246b7a5e05681085fbccf..d100e12b8938cd2834df6c7387e37e686f21c85d 100644 --- a/perl-podlators.spec +++ b/perl-podlators.spec @@ -1,6 +1,7 @@ +%define anolis_release 2 Name: perl-podlators Version: 4.14 -Release: 1%{?dist} +Release: %{anolis_release}%{?dist} Summary: Format POD source into various output formats # pod/perlpodstyle.pod: FSFAP # other files: GPL+ or Artistic @@ -90,6 +91,14 @@ to *roff source output, suitable for man pages, or plain text. It also includes several sub-classes of Pod::Text for formatted output to terminals with various capabilities. +%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 podlators-%{version} @@ -107,12 +116,17 @@ make test %files %license LICENSE -%doc Changes NOTES README THANKS TODO %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man1/* %{_mandir}/man3/* +%files doc +%doc Changes NOTES README THANKS TODO + %changelog +* Fri Sep 30 2022 mgb01105731 - 4.14-2 +- add doc package + * Fri Mar 11 2022 Yaobin Shi - 4.14-1 - Init for Anolis OS 23