diff --git a/perl-Term-Cap.spec b/perl-Term-Cap.spec index 35aa5b92164a5ef1085cab630d1bdcb29ab922de..c3d39b43fd2b15777e645cd2aaf059c597edf20d 100644 --- a/perl-Term-Cap.spec +++ b/perl-Term-Cap.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: perl-Term-Cap Version: 1.17 @@ -33,6 +33,14 @@ Requires: perl(Carp) These are low-level functions to extract and use capabilities from a terminal capability (termcap) database. +%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 %setup -q -n Term-Cap-%{version} @@ -50,10 +58,15 @@ make test %files %license LICENSE -%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc Changes README + %changelog +* Sun Oct 09 2022 mgb01105731 - 1.17-2 +- add doc package + * Thu Mar 10 2022 Su Lifan - 1.17-1 - Initial packageing for Anolis OS 23