fix python_provide

This commit is contained in:
Matthias Runge 2015-11-18 14:28:55 +01:00
parent e08e521659
commit 45fdd8260b

View File

@ -6,7 +6,7 @@
Name: python-%{pypi_name}
Version: 0.14.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A python package that provides useful locks
License: ASL 2.0
@ -30,6 +30,7 @@ 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
%{?python_provide:%python_provide python2-%{pypi_name}}
BuildRequires: python2-six
BuildRequires: python2-devel
@ -47,6 +48,7 @@ A python package that provides useful locks.
%if 0%{?with_python3}
%package -n python3-%{pypi_name}
Summary: A python package that provides useful locks
%{?python_provide:%python_provide python3-%{pypi_name}}
BuildRequires: python3-six
BuildRequires: python3-devel
@ -125,8 +127,9 @@ nosetests-%{python3_version}
%changelog
* Wed Nov 18 2015 Matthias Runge <mrunge@redhat.com> - 0.14.1-1
* Wed Nov 18 2015 Matthias Runge <mrunge@redhat.com> - 0.14.1-2
- update to 0.14.1 (rhbz#1281772)
- fix python_provide
* Mon Nov 16 2015 Matthias Runge <mrunge@redhat.com> - 0.13.0-3
- Fix build