Remove %__pythondist_provides from pythondist.attr.

%__python_provides in RHEL's python3-rpm-generators does the same thing,
so this wastes time by running it twice. Additionally, our version is
out of date and packages built against alternative python stacks
incorrectly have python3dist(X) Provides.

Related: https://bugzilla.redhat.com/1776941
Related: d809defd2c?branch=c8s
epel8
Maxwell G 2 years ago
parent 8ba0536651
commit fe7e34ff91
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

@ -113,7 +113,11 @@ install -Dpm 644 %{SOURCE150} \
%changelog
* Sat Jul 16 2022 Maxwell G <gotmax@e.email> - 8-32
- Explicitly Require python3-rpm-generators
- Explicitly Require python3-rpm-generators
- Remove %__pythondist_provides from pythondist.attr.
- Ensure that packages built against alternative python stacks do not have
python3dist(x) Provides.
- Related: rhbz#1776941.
* Sat Jul 16 2022 Miro Hrončok <mhroncok@redhat.com> - 8-31
- Fix a regression in the %%pytest definition (/usr/bin/pytest: No such file or directory)

@ -1,3 +1,2 @@
%__pythondist_provides %{_rpmconfigdir}/pythondistdeps.py --provides --majorver-provides
%__pythondist_requires %{_rpmconfigdir}/pythondistdeps.py --requires
%__pythondist_path ^/usr/lib(64)?/python[[:digit:]]\\.[[:digit:]]+/site-packages/[^/]+\\.(dist-info|egg-info|egg-link)$

Loading…
Cancel
Save