14
0
Tomáš Chvátal
2020-03-12 07:48:06 +00:00
committed by Git OBS Bridge
parent 8ed15f6b79
commit eaf21f0342
2 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 12 07:47:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix buid without python2
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 19 08:56:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Mon Aug 19 08:56:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-websockify # spec file for package python-websockify
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-websockify Name: python-websockify
Version: 0.9.0 Version: 0.9.0
Release: 0 Release: 0
Summary: WebSocket to TCP proxy/bridge Summary: WebSocket to TCP proxy/bridge
License: LGPL-3.0-only AND MPL-2.0 AND BSD-2-Clause AND BSD-3-Clause License: LGPL-3.0-only AND MPL-2.0 AND BSD-2-Clause AND BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/novnc/websockify URL: https://github.com/novnc/websockify
Source: https://github.com/novnc/websockify/archive/v%{version}.tar.gz Source: https://github.com/novnc/websockify/archive/v%{version}.tar.gz
BuildRequires: %{python_module cryptography} BuildRequires: %{python_module cryptography}
@@ -34,13 +34,15 @@ BuildRequires: %{python_module redis}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module simplejson} BuildRequires: %{python_module simplejson}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-enum34
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-numpy Requires: python-numpy
Requires: python-setuptools Requires: python-setuptools
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
%if %{with python2}
BuildRequires: python-enum34
%endif
%if 0%{?suse_version} %if 0%{?suse_version}
Recommends: python-jwcrypto Recommends: python-jwcrypto
Recommends: python-redis Recommends: python-redis
@@ -59,7 +61,6 @@ the target in both directions.
%package -n python-websockify-common %package -n python-websockify-common
Summary: Common data files for the Websockify TCP proxy/bridge Summary: Common data files for the Websockify TCP proxy/bridge
Group: Development/Languages/Python
Provides: %{python_module websockify-common = %{version}} Provides: %{python_module websockify-common = %{version}}
%description -n python-websockify-common %description -n python-websockify-common