Fix tox releted errors
(Fails to build anyway)
This commit is contained in:
parent
baae6ec1b5
commit
b3f180f146
@ -13,7 +13,7 @@ BuildArch: noarch
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%if 0%{?rhel} == 0
|
||||
BuildRequires: python-tox
|
||||
BuildRequires: /usr/bin/tox
|
||||
BuildRequires: pytest
|
||||
BuildRequires: python-coverage
|
||||
BuildRequires: python-webtest
|
||||
@ -68,7 +68,7 @@ find $RPM_BUILD_ROOT%{python3_sitelib}/%{realname}/ -name '*.py' -exec chmod 755
|
||||
|
||||
%check
|
||||
%if 0%{?rhel} == 0
|
||||
tox --sitepackages -e py27,py35
|
||||
tox --sitepackages -e py27,py%{python3_version_nodots}
|
||||
%endif
|
||||
|
||||
%files
|
||||
@ -86,6 +86,8 @@ tox --sitepackages -e py27,py35
|
||||
%changelog
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.3.2-5
|
||||
- Rebuild for Python 3.6
|
||||
- BR /usr/bin/tox instead of python-tox
|
||||
- Use %%{python3_version_nodots} instead of hardcoded 35
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-4
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
Loading…
Reference in New Issue
Block a user