[StarCluster/epel7] Patch pyasn1 requires to 0.1.6

Orion Poplawski orion at fedoraproject.org
Fri Jun 13 20:31:18 UTC 2014


commit cbc315b0f33eac82b2a05113db7bd04f872f65ac
Author: Orion Poplawski <orion at nwra.com>
Date:   Fri Jun 13 14:31:15 2014 -0600

    Patch pyasn1 requires to 0.1.6

 StarCluster-pyasn1.patch |   12 ++++++++++++
 StarCluster.spec         |   11 ++++++++---
 2 files changed, 20 insertions(+), 3 deletions(-)
---
diff --git a/StarCluster-pyasn1.patch b/StarCluster-pyasn1.patch
new file mode 100644
index 0000000..f17b214
--- /dev/null
+++ b/StarCluster-pyasn1.patch
@@ -0,0 +1,12 @@
+diff -up StarCluster-0.94.3/setup.py.pyasn1 StarCluster-0.94.3/setup.py
+--- StarCluster-0.94.3/setup.py.pyasn1	2013-11-21 17:11:51.000000000 -0700
++++ StarCluster-0.94.3/setup.py	2014-06-13 14:29:39.264876986 -0600
+@@ -31,7 +31,7 @@ try:
+                  tests_require="nose",
+                  install_requires=["paramiko>=1.11.0", "boto>=2.10.0",
+                                    "workerpool>=0.9.2", "Jinja2>=2.7",
+-                                   "decorator>=3.4.0", "pyasn1>=0.1.7",
++                                   "decorator>=3.4.0", "pyasn1>=0.1.6",
+                                    "iptools>=0.6.1", "optcomplete>=1.2-devel"],
+                  include_package_data=True,
+                  entry_points=dict(console_scripts=console_scripts),
diff --git a/StarCluster.spec b/StarCluster.spec
index 6f4978a..e6fe658 100644
--- a/StarCluster.spec
+++ b/StarCluster.spec
@@ -1,6 +1,6 @@
 Name:           StarCluster
 Version:        0.94.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Tool for managing computing clusters hosted on Amazon's EC2
 
 # Core of StarCluster is LGPLv3
@@ -9,6 +9,8 @@ Summary:        Tool for managing computing clusters hosted on Amazon's EC2
 License:        LGPLv3 and LGPLv2+ and (MIT or BSD or GPLv2) and (MIT or GPLv2)
 URL:            http://star.mit.edu/cluster
 Source0:        https://pypi.python.org/packages/source/S/StarCluster/StarCluster-%{version}.tar.gz
+# Hack to require pyasn1 >= 0.1.6
+Patch0:         StarCluster-pyasn1.patch
 
 BuildArch:      noarch
 BuildRequires:  python2-devel
@@ -21,7 +23,7 @@ BuildRequires:  python-decorator >= 3.4.0
 BuildRequires:  python-iptools >= 0.6.1
 BuildRequires:  python-jinja2 >= 2.7
 BuildRequires:  python-optcomplete >= 1.2
-BuildRequires:  python-pyasn1 >= 0.1.7
+BuildRequires:  python-pyasn1 >= 0.1.6
 BuildRequires:  python-paramiko >= 1.11.0
 BuildRequires:  python-workerpool >= 0.9.2
 Requires:       python-boto >= 2.10.0
@@ -29,7 +31,7 @@ Requires:       python-decorator >= 3.4.0
 Requires:       python-iptools >= 0.6.1
 Requires:       python-jinja2 >= 2.7
 Requires:       python-optcomplete >= 1.2
-Requires:       python-pyasn1 >= 0.1.7
+Requires:       python-pyasn1 >= 0.1.6
 Requires:       python-paramiko >= 1.11.0
 Requires:       python-workerpool >= 0.9.2
 
@@ -89,5 +91,8 @@ rm _build/html/.buildinfo
 
 
 %changelog
+* Fri Jun 13 2014 Orion Poplawski <orion at cora.nwra.com> 0.94.3-2
+- Patch pyasn1 requires to 0.1.6
+
 * Mon Jan 13 2014 Orion Poplawski <orion at cora.nwra.com> 0.94.3-1
 - Update to 0.94.3


More information about the scm-commits mailing list