[python-paramiko/el6-icehouse] adjust to no longer work with base RHEL, and use python-crypto >= 2.6

Pádraig Brady pbrady at fedoraproject.org
Thu Apr 10 18:24:55 UTC 2014


commit 8c442e962a1614ddb8b34c410614667f144cdbbe
Author: Pádraig Brady <P at draigBrady.com>
Date:   Thu Apr 10 18:44:06 2014 +0100

    adjust to no longer work with base RHEL, and use python-crypto >= 2.6
    
    RDO icehouse has updated to using python-crypto >= 2.6
    for python-oauthlib at least, so take advantage here too
    
    This means though we need to now build in
    https://copr.fedoraproject.org/coprs/jruzicka/rdo-icehouse-epel-6/add_build/

 ...Util.RandomPool-rather-than-Crypto.Random.patch |  788 --------------------
 python-paramiko.spec                               |   12 +-
 2 files changed, 6 insertions(+), 794 deletions(-)
---
diff --git a/python-paramiko.spec b/python-paramiko.spec
index 58c8de7..570df5d 100644
--- a/python-paramiko.spec
+++ b/python-paramiko.spec
@@ -4,7 +4,7 @@
 
 Name:           python-paramiko
 Version:        1.10.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        SSH2 protocol library for python
 
 Group:          Development/Libraries
@@ -13,13 +13,12 @@ License:        LGPLv2+
 URL:            https://github.com/paramiko/paramiko/
 Source0:        http://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch0:         0001-Use-Crypto.Util.RandomPool-rather-than-Crypto.Random.patch
 
 BuildArch:      noarch
 
 BuildRequires: python-setuptools
-BuildRequires: python-crypto >= 1.9
-Requires:      python-crypto >= 1.9
+BuildRequires: python-crypto >= 2.6
+Requires:      python-crypto >= 2.6
 
 %description
 Paramiko (a combination of the esperanto words for "paranoid" and "friend") is
@@ -34,8 +33,6 @@ encrypted tunnel. (This is how sftp works, for example.)
 %prep
 %setup -q -n %{srcname}-%{version}
 
-%patch0 -p1
-
 %{__chmod} a-x demos/*
 %{__sed} -i -e '/^#!/,1d' demos/*
 
@@ -58,6 +55,9 @@ rm -rf %{buildroot}
 %{python_sitelib}/*
 
 %changelog
+* Thu Apr 10 2014 Pádraig Brady <pbrady at redhat.com> - 1.10.1-2
+- Adjust to no longer work with base RHEL, and use python-crypto >= 2.6
+
 * Thu May  9 2013 Jeffrey Ollie <jeff at ocjtech.us> - 1.10.1-1
 - Update to 1.10.1
 


More information about the scm-commits mailing list