spec: replace hardcoded python3
Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
This commit is contained in:
parent
a14cffac7c
commit
019a0f74e8
@ -48,14 +48,14 @@ have been executed.
|
||||
|
||||
%endif
|
||||
|
||||
%package -n python3-coverage
|
||||
%package -n python%{python3_pkgversion}-coverage
|
||||
Summary: Code coverage testing module for Python 3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
# As the "coverage" executable requires the setuptools at runtime (#556290),
|
||||
# so the "python3-coverage" executable requires python3-setuptools:
|
||||
Requires: python3-setuptools
|
||||
%{?python_provide:%python_provide python3-coverage}
|
||||
Requires: python%{python3_pkgversion}-setuptools
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-coverage}
|
||||
Provides: bundled(js-jquery) = 1.11.1
|
||||
Provides: bundled(js-jquery-debounce) = 1.1
|
||||
Provides: bundled(js-jquery-hotkeys) = 0.8
|
||||
@ -63,7 +63,7 @@ Provides: bundled(js-jquery-isonscreen) = 1.2.0
|
||||
Provides: bundled(js-jquery-tablesorter)
|
||||
Conflicts: python2-coverage < 4.5.4-2
|
||||
|
||||
%description -n python3-coverage
|
||||
%description -n python%{python3_pkgversion}-coverage
|
||||
Coverage.py is a Python 3 module that measures code coverage during Python
|
||||
execution. It uses the code analysis tools and tracing hooks provided in the
|
||||
Python standard library to determine which lines are executable, and which
|
||||
@ -111,7 +111,7 @@ popd
|
||||
%{python2_sitearch}/coverage*.egg-info/
|
||||
%endif
|
||||
|
||||
%files -n python3-coverage
|
||||
%files -n python%{python3_pkgversion}-coverage
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
%doc README.rst
|
||||
%{_bindir}/coverage
|
||||
|
Loading…
Reference in New Issue
Block a user