Fix BuildRequires to require the tox command and not the python2 module
This commit is contained in:
parent
67497e5ac5
commit
54668d48cb
@ -12,7 +12,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 4.1.2
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: %{sum}
|
||||
|
||||
Group: Development/Languages
|
||||
@ -22,6 +22,7 @@ Source0: https://github.com/google/%{srcname}/archive/v%{version}.tar.gz#
|
||||
Patch0: docs-build-fix.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{_bindir}/tox
|
||||
BuildRequires: python2-devel
|
||||
# Needed for docs build
|
||||
BuildRequires: pyOpenSSL
|
||||
@ -38,7 +39,6 @@ BuildRequires: python2-pyasn1 >= 0.1.7
|
||||
BuildRequires: python2-pyasn1-modules >= 0.0.5
|
||||
BuildRequires: python-rsa >= 3.1.4
|
||||
BuildRequires: python-sqlalchemy
|
||||
BuildRequires: python-tox
|
||||
BuildRequires: python-unittest2
|
||||
BuildRequires: python-webtest
|
||||
|
||||
@ -68,7 +68,6 @@ BuildRequires: python3-fasteners
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-pyasn1 >= 0.1.7
|
||||
BuildRequires: python3-pyasn1-modules >= 0.0.5
|
||||
BuildRequires: python3-tox
|
||||
BuildRequires: python3-pytest
|
||||
%endif
|
||||
|
||||
@ -190,7 +189,7 @@ tox -v --sitepackages -e py27
|
||||
|
||||
%if %{with python3}
|
||||
pushd %{py3dir}
|
||||
#python3-tox --sitepackages -e py35
|
||||
#tox -v --sitepackages -e py%%{python3_version_nodots}
|
||||
popd
|
||||
%endif
|
||||
|
||||
@ -219,6 +218,9 @@ rm -r $(find %{_buildrootdir} -type d -name 'tests') || /bin/true
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue May 08 2018 Miro Hrončok <mhroncok@redhat.com> - 4.1.2-5
|
||||
- Fix BuildRequires to require the tox command and not the python2 module
|
||||
|
||||
* Wed Mar 21 2018 Michele Baldessari <michele@acksyn.org> - 4.1.2-4
|
||||
- Fix FTBFS due to missing python-django (rhbz#1556223)
|
||||
- Set right version in the docs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user