diff --git a/python-ply.spec b/python-ply.spec index cfb48ca0288368c075e361830e81ef90e8450cc5..9509855a0955bd1745f6e9ad3f2509452490d7bf 100644 --- a/python-ply.spec +++ b/python-ply.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global modname ply %bcond_without tests @@ -49,6 +49,14 @@ essential features: Python 3 version. +%package doc +Summary: Documentation files for %{name} +Requires: python3-%{modname} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -n %{modname}-%{version} find example/ -type f -executable -exec chmod -x {} ';' @@ -75,11 +83,16 @@ popd %endif %files -n python3-%{modname} -%doc CHANGES README.md %license LICENSE %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-%{version}-*.egg-info/ +%files doc +%doc CHANGES README.md + %changelog +* Sun Oct 09 2022 mgb01105731 - 3.11-2 +- add doc package + * Tue Apr 19 2022 Zhongling He 3.11-1 - Init package from upstream v3.11