Add missing bundled provide - ordered-set
Related: rhbz#1950291
This commit is contained in:
parent
b492f44a4a
commit
ac037fdcb0
@ -29,10 +29,11 @@
|
|||||||
Name: python-setuptools
|
Name: python-setuptools
|
||||||
# When updating, update the bundled libraries versions bellow!
|
# When updating, update the bundled libraries versions bellow!
|
||||||
Version: 53.0.0
|
Version: 53.0.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Easily build and distribute Python packages
|
Summary: Easily build and distribute Python packages
|
||||||
# setuptools is MIT
|
# setuptools is MIT
|
||||||
# appdirs is MIT
|
# appdirs is MIT
|
||||||
|
# ordered-set is MIT
|
||||||
# packaging is BSD or ASL 2.0
|
# packaging is BSD or ASL 2.0
|
||||||
# pyparsing is MIT
|
# pyparsing is MIT
|
||||||
# the setuptools logo has unknown license and possible TM problems,
|
# the setuptools logo has unknown license and possible TM problems,
|
||||||
@ -73,10 +74,14 @@ This package also contains the runtime components of setuptools, necessary to
|
|||||||
execute the software that requires pkg_resources.
|
execute the software that requires pkg_resources.
|
||||||
|
|
||||||
# Virtual provides for the packages bundled by setuptools.
|
# Virtual provides for the packages bundled by setuptools.
|
||||||
# You can generate it with:
|
# Bundled packages are defined in two files:
|
||||||
# %%{_rpmconfigdir}/pythonbundles.py --namespace 'python%%{python3_pkgversion}dist' pkg_resources/_vendor/vendored.txt
|
# - pkg_resources/_vendor/vendored.txt, and
|
||||||
|
# - setuptools/_vendor/vendored.txt
|
||||||
|
# Merge them to one and then generate the list with:
|
||||||
|
# %%{_rpmconfigdir}/pythonbundles.py --namespace 'python%%{python3_pkgversion}dist' allvendor.txt
|
||||||
%global bundled %{expand:
|
%global bundled %{expand:
|
||||||
Provides: bundled(python%{python3_pkgversion}dist(appdirs)) = 1.4.3
|
Provides: bundled(python%{python3_pkgversion}dist(appdirs)) = 1.4.3
|
||||||
|
Provides: bundled(python%{python3_pkgversion}dist(ordered-set)) = 3.1.1
|
||||||
Provides: bundled(python%{python3_pkgversion}dist(packaging)) = 20.4
|
Provides: bundled(python%{python3_pkgversion}dist(packaging)) = 20.4
|
||||||
Provides: bundled(python%{python3_pkgversion}dist(pyparsing)) = 2.2.1
|
Provides: bundled(python%{python3_pkgversion}dist(pyparsing)) = 2.2.1
|
||||||
}
|
}
|
||||||
@ -166,7 +171,8 @@ install -p dist/%{python_wheelname} -t %{buildroot}%{python_wheeldir}
|
|||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
# Verify bundled provides are up to date
|
# Verify bundled provides are up to date
|
||||||
%{_rpmconfigdir}/pythonbundles.py pkg_resources/_vendor/vendored.txt --compare-with '%{bundled}'
|
cat pkg_resources/_vendor/vendored.txt setuptools/_vendor/vendored.txt > allvendor.txt
|
||||||
|
%{_rpmconfigdir}/pythonbundles.py allvendor.txt --namespace 'python%{python3_pkgversion}dist' --compare-with '%{bundled}'
|
||||||
|
|
||||||
# Regression test, the wheel should not be larger than 600 KiB
|
# Regression test, the wheel should not be larger than 600 KiB
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1914481#c3
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1914481#c3
|
||||||
@ -197,6 +203,10 @@ PYTHONPATH=$(pwd) %pytest --ignore=pavement.py
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 21 2021 Lumír Balhar <lbalhar@redhat.com> - 53.0.0-4
|
||||||
|
- Add missing bundled provide - ordered-set
|
||||||
|
Related: rhbz#1950291
|
||||||
|
|
||||||
* Thu Apr 22 2021 Miro Hrončok <mhroncok@redhat.com> - 53.0.0-3
|
* Thu Apr 22 2021 Miro Hrončok <mhroncok@redhat.com> - 53.0.0-3
|
||||||
- Provide python3-pkg_resources
|
- Provide python3-pkg_resources
|
||||||
- Provide python3-pkg-resources
|
- Provide python3-pkg-resources
|
||||||
|
Loading…
Reference in New Issue
Block a user