Depend on %{_bindir}/2to3 instead of python2-tools

Now it is in python3-tools. We should not care about package names,
but should on binaries.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
f38
Igor Gnatenko 8 years ago
parent 9be6b74fff
commit 1acd2f5fb5

@ -10,7 +10,7 @@
Summary: Cryptography library for Python Summary: Cryptography library for Python
Name: python-crypto Name: python-crypto
Version: 2.6.1 Version: 2.6.1
Release: 17%{?dist} Release: 18%{?dist}
# Mostly Public Domain apart from parts of HMAC.py and setup.py, which are Python # Mostly Public Domain apart from parts of HMAC.py and setup.py, which are Python
License: Public Domain and Python License: Public Domain and Python
URL: http://www.pycrypto.org/ URL: http://www.pycrypto.org/
@ -26,8 +26,7 @@ BuildRequires: gmp-devel >= 4.1
BuildRequires: libtomcrypt-devel >= 1.16 BuildRequires: libtomcrypt-devel >= 1.16
BuildRequires: python%{python2_pkgversion}-devel >= 2.4 BuildRequires: python%{python2_pkgversion}-devel >= 2.4
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
# python2-tools needed for 2to3 BuildRequires: %{_bindir}/2to3
BuildRequires: python2-tools
%description %description
PyCrypto is a collection of both secure hash functions (such as MD5 and PyCrypto is a collection of both secure hash functions (such as MD5 and
@ -110,6 +109,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} pct-speedtest3.py
%{python3_sitearch}/pycrypto-%{version}-py3.*.egg-info %{python3_sitearch}/pycrypto-%{version}-py3.*.egg-info
%changelog %changelog
* Tue Sep 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.6.1-18
- Depend on %%{_bindir}/2to3 instead of python2-tools
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-17 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

Loading…
Cancel
Save