diff --git a/perl-Carp.spec b/perl-Carp.spec index 43807605aef7e4e9c586c62f230e3b8ee1b1318d..c5183189b89ba32c8e1db1470dd44b9f68e80dc3 100644 --- a/perl-Carp.spec +++ b/perl-Carp.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: perl-Carp Version: 1.50 @@ -38,6 +38,14 @@ you can use carp or croak which report the error as being from where your module was called. There is no guarantee that that is where the error was, but it is a good educated guess. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup -n Carp-%{version} -p1 @@ -53,10 +61,15 @@ make pure_install DESTDIR=$RPM_BUILD_ROOT make test %files -%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc Changes README + %changelog -* Tue Mar 08 2022 Jacob Wang 1.50-1 +* Fri Oct 14 2022 mgb01105731 - 1.50-2 +- add doc package + +* Tue Mar 08 2022 Jacob Wang - 1.50-1 - Initial version from upstream 1.50