Macronize the Python version of the bundled provides
We build it in alternative Python stacks and want it to pick up
the redefined %{python3_pkgversion}. For main Python it
evaluates to 3, meaning no change in Fedora proper.
It will result in a smaller diff when creating alternative package definitions.
[skip changelog]
This commit is contained in:
parent
2b190b00bf
commit
1ae9237431
1 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ BuildRequires: ca-certificates
|
|||
Requires: ca-certificates
|
||||
|
||||
# Virtual provides for the packages bundled by pip:
|
||||
%{bundled 3}
|
||||
%{bundled %{python3_pkgversion}}
|
||||
|
||||
Provides: pip = %{version}-%{release}
|
||||
Conflicts: python-pip < %{version}-%{release}
|
||||
|
|
@ -195,7 +195,7 @@ Summary: The pip wheel
|
|||
Requires: ca-certificates
|
||||
|
||||
# Virtual provides for the packages bundled by pip:
|
||||
%{bundled 3}
|
||||
%{bundled %{python3_pkgversion}}
|
||||
|
||||
# This is only relevant for Pythons that are older than 3.12 and don't use their own bundled wheels
|
||||
# It is also only relevant when this wheel is shared across multiple Pythons
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue