diff --git a/perl-Software-License.spec b/perl-Software-License.spec index 4546e635df6177d8df333b9c5e43569de61766ce..f4fe85e5b2e7a86496670c8b9448a59851dc89f2 100644 --- a/perl-Software-License.spec +++ b/perl-Software-License.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + # Run extra tests %if 0%{?fedora} || 0%{?rhel} > 6 %bcond_without perl_Software_License_enables_extra_test @@ -13,7 +15,7 @@ Name: perl-Software-License Version: 0.103013 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} Summary: Package that provides templated software licenses License: GPL+ or Artistic URL: http://search.cpan.org/dist/Software-License/ @@ -56,6 +58,14 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Software-License contains templates for common open source software licenses. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n Software-License-%{version} @@ -80,13 +90,18 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" %else %doc LICENSE %endif -%doc Changes README %{perl_vendorlib}/Software/ %{_mandir}/man3/Software::License.3* %{_mandir}/man3/Software::License::*.3* %{_mandir}/man3/Software::LicenseUtils.3* +%files doc +%doc Changes README + %changelog +* Tue Jul 19 2022 Liwei Ge - 0.103013-2.0.1 +- Add doc sub package + * Fri Feb 09 2018 Fedora Release Engineering - 0.103013-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild