!10 [sync] PR-8: Correct package name to support multiple version

From: @openeuler-sync-bot
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-11-08 06:46:18 +00:00 committed by Gitee
commit 666ec29859

View File

@ -1,6 +1,6 @@
Name: python-wrapt Name: python-wrapt-1.10
Version: 1.10.8 Version: 1.10.8
Release: 2 Release: 3
Summary: A Python module for decorators, wrappers and monkey patching Summary: A Python module for decorators, wrappers and monkey patching
License: BSD License: BSD
URL: https://github.com/GrahamDumpleton/wrapt URL: https://github.com/GrahamDumpleton/wrapt
@ -17,9 +17,9 @@ BuildRequires: python-sphinx python-sphinx_rtd_theme
%description doc %description doc
Documentation for the wrapt module Documentation for the wrapt module
%package -n python3-wrapt %package -n python3-wrapt-1.10
Summary: A Python module for decorators, wrappers and monkey patching Summary: A Python module for decorators, wrappers and monkey patching
%description -n python3-wrapt %description -n python3-wrapt-1.10
The aim of the wrapt module is to provide a transparent object proxy The aim of the wrapt module is to provide a transparent object proxy
for Python, which can be used as the basis for the construction of for Python, which can be used as the basis for the construction of
function wrappers and decorator functions. function wrappers and decorator functions.
@ -39,13 +39,16 @@ popd
%files doc %files doc
%doc docs/build/html %doc docs/build/html
%files -n python3-wrapt %files -n python3-wrapt-1.10
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python3_sitearch}/wrapt %{python3_sitearch}/wrapt
%{python3_sitearch}/wrapt-%{version}-py?.?.egg-info %{python3_sitearch}/wrapt-%{version}-py?.?.egg-info
%changelog %changelog
* Fri Nov 05 2021 huangtianhua <huangtianhua@huawei.com> - 1.10.8-3
- Correct package name to support multiple version
* Fri Jul 09 2021 wangyue <wangyue92@huawei.com> - 1.10.8-2 * Fri Jul 09 2021 wangyue <wangyue92@huawei.com> - 1.10.8-2
- Fix build error:Empty %file wrapt-1.10.8/debugfiles.list - Fix build error:Empty %file wrapt-1.10.8/debugfiles.list