Hello community,
here is the log from the commit of package python-websocket-client for
openSUSE:Factory checked in at 2015-08-01 11:36:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-websocket-client (Old)
and /work/SRC/openSUSE:Factory/.python-websocket-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-websocket-client"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-websocket-client/python-websocket-client.changes
2015-05-15 07:44:57.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-websocket-client.new/python-websocket-client.changes
2015-08-01 11:36:57.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul 24 08:12:07 UTC 2015 - [email protected]
+
+- fix dependencies for RHEL/CentOS 7: they provide their own
+ python-backports-ssl_match_hostname
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-websocket-client.spec ++++++
--- /var/tmp/diff_new_pack.oEQRsx/_old 2015-08-01 11:36:57.000000000 +0200
+++ /var/tmp/diff_new_pack.oEQRsx/_new 2015-08-01 11:36:57.000000000 +0200
@@ -16,6 +16,13 @@
#
+# RHEL provides this backport in its own repository
+%if 0%{?rhel} == 7
+%define backports python-backports-ssl_match_hostname
+%else
+%define backports python-backports.ssl_match_hostname
+%endif
+
Name: python-websocket-client
Version: 0.30.0
Release: 0
@@ -24,11 +31,11 @@
Group: Development/Languages/Python
Url: https://github.com/liris/websocket-client/releases
Source0:
https://pypi.python.org/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz
-BuildRequires: python-backports.ssl_match_hostname
+BuildRequires: %backports
BuildRequires: python-setuptools
BuildRequires: python-six
+Requires: %backports
Requires: python
-Requires: python-backports.ssl_match_hostname
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110