diff --git a/perl-Time-Local.spec b/perl-Time-Local.spec index b20971c64c6472990da5c7abfac8d85e3437194e..20d1cc8199c145d248dc64d50f2c007ffeb6869f 100644 --- a/perl-Time-Local.spec +++ b/perl-Time-Local.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global cpan_version 1.30 Name: perl-Time-Local Epoch: 2 @@ -31,6 +31,14 @@ return the corresponding time(2) value in seconds since the system epoch positive or negative, though POSIX only requires support for positive values, so dates before the system's epoch may not work on all operating systems. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{epoch}:%{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q -n Time-Local-%{cpan_version} @@ -47,10 +55,15 @@ make test %files %license LICENSE -%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md + %changelog +* Fri Oct 14 2022 mgb01105731 - 2:1.30-2 +- add doc package + * Fri Mar 11 2022 Chunmei Xu - 2:1.30-1 - init from usptream 1.30