!11 provide python3dist(cheetah3) to be compatible with older versions

From: @caodongxia 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2023-05-26 02:34:45 +00:00 committed by Gitee
commit c2e6306ade
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: python-cheetah Name: python-cheetah
Version: 3.3.1 Version: 3.3.1
Release: 1 Release: 2
Summary: The Python-Powered Template Engine Summary: The Python-Powered Template Engine
License: MIT License: MIT
URL: http://cheetahtemplate.org/ URL: http://cheetahtemplate.org/
@ -20,6 +20,8 @@ to traditional Python syntax to allow for easier text-generation.
%package -n python3-cheetah %package -n python3-cheetah
Summary: The Python-Powered Template Engine Summary: The Python-Powered Template Engine
%{?python_provide:%python_provide python3-cheetah} %{?python_provide:%python_provide python3-cheetah}
Provides: python%{python3_pkgversion}dist(cheetah3) = %{version}
Provides: python%{python3_version}dist(cheetah3) = %{version}
%description -n python3-cheetah %description -n python3-cheetah
The Python-Powered Template Engine The Python-Powered Template Engine
@ -45,6 +47,9 @@ export PATH="%{buildroot}/%{_bindir}:$PATH" PYTHONPATH="%{buildroot}/%{python3_s
%{python3_sitearch}/ %{python3_sitearch}/
%changelog %changelog
* Thu May 25 2023 caodongxia <caodongxia@h-partners.com> - 3.3.1-2
- Provide python3dist(cheetah3) to be compatible with older versions
* Sat Feb 18 2023 huangduirong <huangduirong@huawei.com> - 3.3.1-1 * Sat Feb 18 2023 huangduirong <huangduirong@huawei.com> - 3.3.1-1
- Upgrade to version 3.3.1 - Upgrade to version 3.3.1