Correct package name to support multiple version

(cherry picked from commit f1fdac50f2551f841e46a7338f7f71d316ccaf0a)
This commit is contained in:
huangtianhua 2021-11-05 09:15:46 +00:00 committed by openeuler-sync-bot
parent fe192a5e7b
commit 7633235699

View File

@ -1,6 +1,6 @@
Name: python-wrapt
Name: python-wrapt-1.10
Version: 1.10.8
Release: 2
Release: 3
Summary: A Python module for decorators, wrappers and monkey patching
License: BSD
URL: https://github.com/GrahamDumpleton/wrapt
@ -17,9 +17,9 @@ BuildRequires: python-sphinx python-sphinx_rtd_theme
%description doc
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
%description -n python3-wrapt
%description -n python3-wrapt-1.10
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
function wrappers and decorator functions.
@ -39,13 +39,16 @@ popd
%files doc
%doc docs/build/html
%files -n python3-wrapt
%files -n python3-wrapt-1.10
%doc README.rst
%license LICENSE
%{python3_sitearch}/wrapt
%{python3_sitearch}/wrapt-%{version}-py?.?.egg-info
%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
- Fix build error:Empty %file wrapt-1.10.8/debugfiles.list