14
0

Accepting request 318706 from home:seife:OpenStack:Master

fix dependencies for RHEL/CentOS 7

OBS-URL: https://build.opensuse.org/request/show/318706
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websocket-client?expand=0&rev=8
This commit is contained in:
2015-07-26 11:58:41 +00:00
committed by Git OBS Bridge
parent 29344cfe5a
commit 6b83cbaf35
2 changed files with 15 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 24 08:12:07 UTC 2015 - seife+obs@b1-systems.com
- fix dependencies for RHEL/CentOS 7: they provide their own
python-backports-ssl_match_hostname
-------------------------------------------------------------------
Thu May 14 13:30:06 UTC 2015 - benoit.monin@gmx.fr

View File

@@ -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 @@ License: LGPL-2.1
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