|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
# RHEL 8's %%pytest does not work properly on non-default Python versions.
|
|
|
|
|
# Backported from https://src.fedoraproject.org/rpms/python-rpm-macros/c/02536540768555dde6d675935db45df81bcab7bf?branch=rawhide
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2091462
|
|
|
|
|
%__pytest /usr/bin/pytest%(test %{python3_pkgversion} == 3 || echo -%{python3_version})
|
|
|
|
|
%__pytest /usr/bin/pytest%(test %{python3_pkgversion} == 3 && echo -3 || echo -%{python3_version})
|
|
|
|
|
|
|
|
|
|
# RHEL 8's %%py3_dist does not work properly on non-default Python versions.
|
|
|
|
|
# This is copied here from https://git.centos.org/rpms/python-rpm-macros/pull-request/1
|
|
|
|
|