#2438 F33 Self-Contained Change: Make the unversioned %{__python} macro error by default
Closed: Accepted 3 years ago by zbyszek. Opened 3 years ago by bcotton.

The %{__python} RPM macro (currently defined to /usr/bin/python for backwards compatibility reasons) will be defined to raise an error when used. Any derived macros (%{python}, %{python_version}, %{python_sitleib} etc.) will propagate the error. Packagers can redefine the macro to any actual value to suppress the error. This is consistent with RHEL 8 behavior. Using /usr/bin/python in Fedora packages remains forbidden.


Shameless +1.

APPROVED (+6,0,-0)

Metadata Update from @churchyard:
- Issue tagged with: pending announcement

3 years ago

Metadata Update from @zbyszek:
- Issue untagged with: pending announcement
- Issue close_status updated to: Accepted
- Issue status updated to: Closed (was: Open)

3 years ago

Metadata Update from @bcotton:
- Issue untagged with: F33
- Issue set to the milestone: Fedora 33

2 years ago

Login to comment on this ticket.

Metadata