fix ftbfs and provide python2-fasteners
This commit is contained in:
parent
6381f59d00
commit
6f07c70b6c
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.13.0
|
Version: 0.13.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A python package that provides useful locks
|
Summary: A python package that provides useful locks
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -27,6 +27,23 @@ BuildRequires: python-nose
|
|||||||
A python package that provides useful locks.
|
A python package that provides useful locks.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python2-%{pypi_name}
|
||||||
|
Summary: A python package that provides useful locks
|
||||||
|
Obsoletes: python-%{pypi_name} < 0.13.0-3
|
||||||
|
|
||||||
|
BuildRequires: python2-six
|
||||||
|
BuildRequires: python2-devel
|
||||||
|
|
||||||
|
# tests
|
||||||
|
BuildRequires: python2-testtools
|
||||||
|
BuildRequires: python2-nose
|
||||||
|
|
||||||
|
Requires: python2-six
|
||||||
|
|
||||||
|
%description -n python2-%{pypi_name}
|
||||||
|
A python package that provides useful locks.
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-%{pypi_name}
|
||||||
Summary: A python package that provides useful locks
|
Summary: A python package that provides useful locks
|
||||||
@ -86,13 +103,13 @@ popd
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%check
|
%check
|
||||||
nosetests-2.7
|
nosetests-%{python2_version}
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
nosetests-3.4
|
nosetests-%{python3_version}
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%files
|
%files -n python2-%{pypi_name}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python2_sitelib}/%{pypi_name}
|
%{python2_sitelib}/%{pypi_name}
|
||||||
@ -108,6 +125,9 @@ nosetests-3.4
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 16 2015 Matthias Runge <mrunge@redhat.com> - 0.13.0-3
|
||||||
|
- Fix build
|
||||||
|
|
||||||
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.0-2
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user