diff --git a/perl-Test-Simple.spec b/perl-Test-Simple.spec index b299300a456d244b8fc17a0dd5e99c559639a427..4ea09fd3f5ce9af39a0827622164e40dbaefafe9 100644 --- a/perl-Test-Simple.spec +++ b/perl-Test-Simple.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + %if ! (0%{?rhel}) %bcond_without perl_Test_Simple_enables_optional_test %else @@ -8,7 +10,7 @@ Name: perl-Test-Simple Summary: Basic utilities for writing tests Epoch: 1 Version: 1.302135 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} # CC0: lib/ok.pm # Public Domain: lib/Test/Tutorial.pod # GPL+ or Artistic: the rest of the distribution @@ -82,6 +84,14 @@ information, see perldoc for Test::Simple, Test::More, etc. This package is the CPAN component of the dual-lifed core package Test-Simple. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n Test-Simple-%{version} @@ -98,7 +108,6 @@ make test AUTHOR_TESTING=1 %files %license LICENSE -%doc Changes README examples/ t/ %dir %{perl_vendorlib}/Test/ %{perl_vendorlib}/ok.pm %{perl_vendorlib}/Test/Builder.pm @@ -178,7 +187,13 @@ make test AUTHOR_TESTING=1 %{_mandir}/man3/Test2::Util::HashBase.3* %{_mandir}/man3/Test2::Util::Trace.3* +%files doc +%doc Changes README examples/ t/ + %changelog +* Tue Jul 19 2022 Liwei Ge - 1:1.302135-1.0.1 +- Add doc sub package + * Fri Mar 30 2018 Paul Howarth - 1:1.302135-1 - Update to 1.302135 - Make sure all hubs, events, and contexts get a unique (per run) id