Fix ambiguous Python requires

This commit is contained in:
Miro Hrončok 2018-12-03 15:20:48 +01:00
parent 77c451e578
commit 4c52a5c768

View File

@ -2,7 +2,7 @@
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 1.4.11 Version: 1.4.11
Release: 3%{?dist} Release: 4%{?dist}
Summary: Utility belt for automated testing in Python Summary: Utility belt for automated testing in Python
License: GPLv3+ License: GPLv3+
@ -11,11 +11,10 @@ Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{
BuildArch: noarch BuildArch: noarch
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python-mock BuildRequires: python2-mock
BuildRequires: python-nose BuildRequires: python2-nose
BuildRequires: python-setuptools BuildRequires: python2-setuptools
BuildRequires: python-six BuildRequires: python2-six
Requires: python-six
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-mock BuildRequires: python3-mock
@ -31,6 +30,7 @@ heavily inspired by should.js.
%package -n python2-%{pypi_name} %package -n python2-%{pypi_name}
Summary: %{summary} 2 Summary: %{summary} 2
%{?python_provide:%python_provide python2-%{pypi_name}} %{?python_provide:%python_provide python2-%{pypi_name}}
Requires: python2-six
%description -n python2-%{pypi_name} %description -n python2-%{pypi_name}
A testing library for Python with powerful and flexible assertions. Sure is A testing library for Python with powerful and flexible assertions. Sure is
@ -80,6 +80,9 @@ rm -rf %{pypi_name}.egg-info
%changelog %changelog
* Mon Dec 03 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.11-4
- Fix ambiguous Python requires
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.11-3 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild