Last active
January 4, 2016 15:09
-
-
Save framer99/8638487 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- python-crypto.spec.orig 2010-09-22 13:26:49.000000000 -0400 | |
+++ python-crypto.spec 2014-01-26 14:28:19.526136385 -0500 | |
@@ -5,7 +5,7 @@ | |
Summary: Cryptography library for Python | |
Name: python-crypto | |
Version: 2.0.1 | |
-Release: 22%{?dist} | |
+Release: 22sha256%{?dist} | |
License: Public Domain | |
Group: Development/Libraries | |
# FIXME: In the near future, new releases will be at http://www.dlitz.net/software/pycrypto/ | |
@@ -31,6 +31,9 @@ | |
# Remove references to IDEA and RC5: | |
Patch3: python-crypto-hobble.patch | |
+# Backport pycrypto-2.1.0 SHA256 padding bug fix | |
+Patch4: python-crypto-sha256_padding_bug.patch | |
+ | |
Provides: pycrypto = %{version}-%{release} | |
BuildRequires: python >= 2.2 | |
BuildRequires: python-devel >= 2.2 | |
@@ -49,6 +52,7 @@ | |
%patch1 -b .patch1 -p1 | |
%patch2 -b .patch2 -p1 | |
%patch3 -p1 | |
+%patch4 -p1 | |
%build | |
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build | |
@@ -89,6 +93,9 @@ | |
%changelog | |
+* Sun Jan 26 2014 framer99 <[email protected]> - 2.0.1-22sha256 | |
+- backport pycrypto-2.1.0 SHA256 padding bug fixes in SHA256.c | |
+ | |
* Wed Sep 22 2010 David Malcolm <[email protected]> - 2.0.1-22 | |
- fix %%description | |
Related: rhbz#636268 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment