diff --git a/perl-Math-BigInt.spec b/perl-Math-BigInt.spec index 36aacbb830f362a4d8b0adcd45058c9abc803ae5..809672b2b11d1cbfd683507c6e5c5c01a9541828 100644 --- a/perl-Math-BigInt.spec +++ b/perl-Math-BigInt.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + # Run optional test %bcond_without perl_Math_BigInt_enables_optional_test @@ -6,7 +8,7 @@ Epoch: 1 %global cpan_version 1.999811 # Keep 4-digit version to compete with perl.spec Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./') -Release: 7%{?dist} +Release: 7%{anolis_release}%{?dist} Summary: Arbitrary-size integer and float mathematics License: GPL+ or Artistic URL: http://search.cpan.org/dist/Math-BigInt/ @@ -58,6 +60,14 @@ Conflicts: perl < 4:5.22.0-347 %description This provides Perl modules for arbitrary-size integer and float mathematics. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n Math-BigInt-%{cpan_version} %patch0 -p1 @@ -76,11 +86,16 @@ make test %files %license LICENSE # NEW file is useless -%doc BUGS CHANGES CREDITS examples GOALS HISTORY README TODO %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc BUGS CHANGES CREDITS examples GOALS HISTORY README TODO + %changelog +* Tue Jul 19 2022 Liwei Ge - 1:1.9998.11-7.0.1 +- Add doc sub package + * Tue Apr 02 2019 Jitka Plesnikova - 1:1.9998.11-7 - Enable gating