diff --git a/perl-constant.spec b/perl-constant.spec index 5960103b2e8e6a1e6ce81ec81e09965725312520..b36dc31d8eba543e6571e8c565a8c936ab6da67f 100644 --- a/perl-constant.spec +++ b/perl-constant.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: perl-constant Version: 1.33 @@ -49,6 +49,14 @@ value at compile time, and may then optimize the expression further. In particular, any code in an "if (CONSTANT)" block will be optimized away if the constant is false. +%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 constant-%{version} @@ -65,11 +73,16 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; make test %files -%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc Changes README + %changelog +* Sun Oct 09 2022 mgb01105731 - 1.33-3 +- add doc package + * Thu Mar 17 2022 Chunmei Xu - 1.33-2 - set make,perl-interpreter and perl-generators as BuildRequires