|
|
@ -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: 19%{?dist}
|
|
|
|
Release: 20%{?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/
|
|
|
@ -19,6 +19,7 @@ Patch0: python-crypto-2.4-optflags.patch
|
|
|
|
Patch1: python-crypto-2.4-fix-pubkey-size-divisions.patch
|
|
|
|
Patch1: python-crypto-2.4-fix-pubkey-size-divisions.patch
|
|
|
|
Patch2: pycrypto-2.6.1-CVE-2013-7459.patch
|
|
|
|
Patch2: pycrypto-2.6.1-CVE-2013-7459.patch
|
|
|
|
Patch3: pycrypto-2.6.1-unbundle-libtomcrypt.patch
|
|
|
|
Patch3: pycrypto-2.6.1-unbundle-libtomcrypt.patch
|
|
|
|
|
|
|
|
Patch4: python-crypto-2.6.1-link.patch
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
@ -71,6 +72,9 @@ This is the Python 3 build of the package.
|
|
|
|
rm -rf src/libtom
|
|
|
|
rm -rf src/libtom
|
|
|
|
%patch3
|
|
|
|
%patch3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# log() not available in libgmp, need libm too
|
|
|
|
|
|
|
|
%patch4
|
|
|
|
|
|
|
|
|
|
|
|
# setup.py doesn't run 2to3 on pct-speedtest.py
|
|
|
|
# setup.py doesn't run 2to3 on pct-speedtest.py
|
|
|
|
cp pct-speedtest.py pct-speedtest3.py
|
|
|
|
cp pct-speedtest.py pct-speedtest3.py
|
|
|
|
2to3 -wn pct-speedtest3.py
|
|
|
|
2to3 -wn pct-speedtest3.py
|
|
|
@ -109,8 +113,11 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} pct-speedtest3.py
|
|
|
|
%{python3_sitearch}/pycrypto-%{version}-py3.*.egg-info
|
|
|
|
%{python3_sitearch}/pycrypto-%{version}-py3.*.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jan 25 2018 Paul Howarth <paul@city-fan.org> - 2.6.1-20
|
|
|
|
|
|
|
|
- log() not available in libgmp, need libm too
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 23 2017 Simone Caronni <negativo17@gmail.com> - 2.6.1-19
|
|
|
|
* Mon Oct 23 2017 Simone Caronni <negativo17@gmail.com> - 2.6.1-19
|
|
|
|
- Rebuild for libtomcrypt update.
|
|
|
|
- Rebuild for libtomcrypt update
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.6.1-18
|
|
|
|
* Tue Sep 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.6.1-18
|
|
|
|
- Depend on %%{_bindir}/2to3 instead of python2-tools
|
|
|
|
- Depend on %%{_bindir}/2to3 instead of python2-tools
|
|
|
|