fix provides error

This commit is contained in:
shixuantong 2021-12-29 09:14:50 +08:00
parent 7161ca587c
commit 391c3cbbae

View File

@ -3,7 +3,7 @@
Name: python-packaging
Version: 21.3
Release: 2
Release: 3
Summary: Core utilities for Python packages
License: BSD and ASL 2.0
URL: https://github.com/pypa/packaging
@ -30,8 +30,8 @@ BuildRequires: python3-pytest
%endif
BuildRequires: python3-pyparsing
Requires: python3-pyparsing
Provides: python%{python3_pkgversion}dist(pyparsing) = %{version}
Provides: python%{python3_version}dist(pyparsing) = %{version}
Provides: python%{python3_pkgversion}dist(packaging) = %{version}
Provides: python%{python3_version}dist(packaging) = %{version}
%description -n python3-packaging
Reusable core utilities for various Python Packaging interoperability specifications.
@ -98,6 +98,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Wed Dec 29 2021 shixuantong <shixuantong@huawei.com> - 21.3-3
- fix provides error
* Tue Dec 28 2021 shixuantong <shixuantong@huawei.com> - 21.3-2
- provide python3dist(packaging) and python3.xdist(packaging)