|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
%if 0%{?fedora} > 12
|
|
|
|
|
# virtualenv for python3 is missing
|
|
|
|
|
%global with_python3 0
|
|
|
|
|
%global with_python3 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Tests requiring Internet connections are disabled by default
|
|
|
|
@ -11,8 +11,8 @@
|
|
|
|
|
|
|
|
|
|
%global pypiname tox
|
|
|
|
|
Name: python-tox
|
|
|
|
|
Version: 1.8.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 2.1.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Virtualenv-based automation of test activities
|
|
|
|
|
|
|
|
|
|
# file toxbootstrap.py is licensed under MIT License
|
|
|
|
@ -111,21 +111,32 @@ popd
|
|
|
|
|
#TOXENV=py26 %{__python} setup.py test
|
|
|
|
|
#%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora}>=17
|
|
|
|
|
%if 0%{?fedora}>=17
|
|
|
|
|
TOXENV=py27 %{__python} setup.py test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc LICENSE ISSUES.txt doc
|
|
|
|
|
%doc ISSUES.txt doc
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/%{pypiname}
|
|
|
|
|
%{_bindir}/%{pypiname}-quickstart
|
|
|
|
|
%{python_sitelib}/%{pypiname}
|
|
|
|
|
%{python_sitelib}/%{pypiname}-%{version}-py2.?.egg-info
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%files -n python3-tox
|
|
|
|
|
%{_bindir}/python3-%{pypiname}
|
|
|
|
|
%{_bindir}/python3-%{pypiname}-quickstart
|
|
|
|
|
%{python3_sitelib}/%{pypiname}
|
|
|
|
|
%{python3_sitelib}/%{pypiname}-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 18 2015 Matthias Runge <mrunge@redhat.com> - 2.1.1-1
|
|
|
|
|
- update to 2.1.1
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|