[fig] Relax strict version requirements on websocket-client (#1155510)

Matej Stuchlik mstuchli at fedoraproject.org
Thu Oct 23 13:59:19 UTC 2014


commit 652b12c9189c1c015accdb4ac65272d814121ee9
Author: Matej Stuchlik <mstuchli at redhat.com>
Date:   Thu Oct 23 15:59:04 2014 +0200

    Relax strict version requirements on websocket-client (#1155510)

 fig.spec                                   |    9 ++++++++-
 remove_websocket_version_upper_bound.patch |   12 ++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/fig.spec b/fig.spec
index 005aea2..68058a4 100644
--- a/fig.spec
+++ b/fig.spec
@@ -2,7 +2,7 @@
 
 Name:           fig
 Version:        1.0.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Punctual, lightweight development environments using Docker
 
 License:        ASL 2.0
@@ -14,6 +14,8 @@ Source0:        https://pypi.python.org/packages/source/f/%{name}/%{name}-%{vers
 # git checkout 1.0.0 && tar -czvf fig-1.0.0-tests.tar.gz tests/
 #Source1:        fig-0.5.2-tests.tar.gz
 
+Patch0: remove_websocket_version_upper_bound.patch
+
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools 
 BuildRequires:  python-docker-py
@@ -53,6 +55,8 @@ Fig allows you to:
 %prep
 %setup -q 
 
+%patch0 -p1
+
 rm -r %{name}.egg-info
 
 %build
@@ -72,6 +76,9 @@ rm -r %{name}.egg-info
 %{python2_sitelib}/%{name}*
 
 %changelog
+* Thu Oct 23 2014 Matej Stuchlik <mstuchli at redhat.com> - 1.0.0-3
+- Relax strict version requirements on websocket-client (#1155510)
+
 * Tue Oct 21 2014 Matej Stuchlik <mstuchli at redhat.com> - 1.0.0-2
 - Update Requires
 
diff --git a/remove_websocket_version_upper_bound.patch b/remove_websocket_version_upper_bound.patch
new file mode 100644
index 0000000..805983d
--- /dev/null
+++ b/remove_websocket_version_upper_bound.patch
@@ -0,0 +1,12 @@
+diff -up fig-1.0.0/setup.py.orig fig-1.0.0/setup.py
+--- fig-1.0.0/setup.py.orig	2014-10-23 15:47:49.491430614 +0200
++++ fig-1.0.0/setup.py	2014-10-23 15:47:52.179439203 +0200
+@@ -29,7 +29,7 @@ install_requires = [
+     'PyYAML >= 3.10, < 4',
+     'requests >= 2.2.1, < 3',
+     'texttable >= 0.8.1, < 0.9',
+-    'websocket-client >= 0.11.0, < 0.12',
++    'websocket-client >= 0.11.0',
+     'docker-py >= 0.5, < 0.6',
+     'six >= 1.3.0, < 2',
+ ]


More information about the scm-commits mailing list