Switch to automatic dependency generator (also fixes #1556164)
- Recommend python37
This commit is contained in:
parent
ff2180b68e
commit
7ab1656082
1 changed files with 8 additions and 7 deletions
|
|
@ -7,7 +7,7 @@
|
|||
%global pypiname tox
|
||||
Name: python-%{pypiname}
|
||||
Version: 2.9.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Virtualenv-based automation of test activities
|
||||
|
||||
# file toxbootstrap.py is licensed under MIT License
|
||||
|
|
@ -33,9 +33,6 @@ Summary: %{summary}
|
|||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-setuptools_scm
|
||||
Requires: python2-py
|
||||
Requires: python2-virtualenv >= 1.11.2
|
||||
Requires: python2-pluggy
|
||||
|
||||
%if %{with internet}
|
||||
# for tests
|
||||
|
|
@ -44,6 +41,8 @@ BuildRequires: python2-pytest
|
|||
BuildRequires: python2-virtualenv >= 1.11.2
|
||||
%endif
|
||||
|
||||
%?python_enable_dependency_generator
|
||||
|
||||
%description -n python2-%{pypiname}
|
||||
Tox as is a generic virtualenv management and test command line tool you
|
||||
can use for:
|
||||
|
|
@ -65,9 +64,6 @@ Provides: %{pypiname} = %{version}-%{release}
|
|||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
Requires: python3-py
|
||||
Requires: python3-pluggy
|
||||
Requires: python3-virtualenv
|
||||
|
||||
# Recommend "all the Pythons"
|
||||
Recommends: python26
|
||||
|
|
@ -76,6 +72,7 @@ Recommends: python33
|
|||
Recommends: python34
|
||||
Recommends: python35
|
||||
Recommends: python36
|
||||
Recommends: python37
|
||||
Recommends: pypy-devel
|
||||
Recommends: pypy3-devel
|
||||
Recommends: python2-devel
|
||||
|
|
@ -135,6 +132,10 @@ TOXENV=py%{python3_version_nodots} %{__python3} setup.py test
|
|||
%{python3_sitelib}/%{pypiname}-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
%changelog
|
||||
* Thu Mar 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.9.1-3
|
||||
- Switch to automatic dependency generator (also fixes #1556164)
|
||||
- Recommend python37
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue