From 1acd2f5fb5873b947aec6f2e9406dbede6aa45c5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sep 05 2017 14:01:58 +0000 Subject: 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 --- diff --git a/python-crypto.spec b/python-crypto.spec index 6399d27..4889cf2 100644 --- a/python-crypto.spec +++ b/python-crypto.spec @@ -10,7 +10,7 @@ Summary: Cryptography library for Python Name: python-crypto 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 License: Public Domain and Python URL: http://www.pycrypto.org/ @@ -26,8 +26,7 @@ BuildRequires: gmp-devel >= 4.1 BuildRequires: libtomcrypt-devel >= 1.16 BuildRequires: python%{python2_pkgversion}-devel >= 2.4 BuildRequires: python%{python3_pkgversion}-devel -# python2-tools needed for 2to3 -BuildRequires: python2-tools +BuildRequires: %{_bindir}/2to3 %description 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 %changelog +* Tue Sep 05 2017 Igor Gnatenko - 2.6.1-18 +- Depend on %%{_bindir}/2to3 instead of python2-tools + * Thu Aug 03 2017 Fedora Release Engineering - 2.6.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild