Get rid of whole %python3_only thing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=86
This commit is contained in:
Matej Cepl 2020-12-10 19:00:34 +00:00 committed by Git OBS Bridge
parent 32126732e5
commit 30ed09655c

View File

@ -17,13 +17,6 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# We redefine this locally, because we are sure that it is only used for files,
# which only the primary python3 flavor should provide for python3 multiflavor
# gh#openSUSE/python-rpm-macros#66
%define python3_only() %%if "%%{python_flavor}" == "python3" || "%%{python_provides}" == "python3" \
%** \
%%endif
Name: python-coverage
Version: 5.3
Release: 0