diff --git a/perl-CPAN-Meta-YAML.spec b/perl-CPAN-Meta-YAML.spec index b5fa8d1dc64b2e68c86a64530bcbdf8afb8aeba8..c5afc9d5c121183a2874a43f6bb841f369421895 100644 --- a/perl-CPAN-Meta-YAML.spec +++ b/perl-CPAN-Meta-YAML.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + # Run extra test %if 0%{!?perl_bootstrap:1} %if ! (0%{?rhel}) @@ -14,7 +16,7 @@ Name: perl-CPAN-Meta-YAML Version: 0.018 -Release: 397%{?dist} +Release: 397%{anolis_release}%{?dist} Summary: Read and write a subset of YAML for CPAN Meta files License: GPL+ or Artistic URL: http://search.cpan.org/dist/CPAN-Meta-YAML/ @@ -69,6 +71,14 @@ This module implements a subset of the YAML specification for use in reading and writing CPAN metadata files like META.yml and MYMETA.yml. It should not be used for any other general YAML parsing or generation task. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n CPAN-Meta-YAML-%{version} @@ -89,11 +99,16 @@ make test TEST_FILES="xt/*/*.t" %files %license LICENSE -%doc Changes README %{perl_vendorlib}/CPAN/ %{_mandir}/man3/CPAN::Meta::YAML.3* +%files doc +%doc Changes README + %changelog +* Tue Jul 19 2022 Liwei Ge - 0.018-397.0.1 +- Add doc sub package + * Thu Mar 15 2018 Paul Howarth - 0.018-397 - Simplify find command using -delete - Drop legacy Group: tag