From 030d48693cbccb59bf5d769e597733670954eaf2 Mon Sep 17 00:00:00 2001 From: Liwei Ge Date: Tue, 19 Jul 2022 14:18:44 +0800 Subject: [PATCH] spec: add sub doc package --- perl-podlators.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/perl-podlators.spec b/perl-podlators.spec index e33cb05..ba505ec 100644 --- a/perl-podlators.spec +++ b/perl-podlators.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: perl-podlators Version: 4.11 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} Summary: Format POD source into various output formats # pod/perlpodstyle.pod: FSFAP # other files: GPL+ or Artistic @@ -87,6 +89,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: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n podlators-%{version} @@ -104,13 +114,18 @@ 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 +* Tue Jul 19 2022 Liwei Ge - 4.11-1.0.1 +- Add doc sub package + * Wed May 09 2018 Petr Pisar - 4.11-1 - 4.11 bump - License changed to (GPL+ or Artistic) and FSFAP -- Gitee