Hello community,
here is the log from the commit of package python-websockify for
openSUSE:Factory checked in at 2020-03-27 00:21:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-websockify (Old)
and /work/SRC/openSUSE:Factory/.python-websockify.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-websockify"
Fri Mar 27 00:21:06 2020 rev:21 rq:784162 version:0.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-websockify/python-websockify.changes
2019-08-27 15:21:15.920844517 +0200
+++
/work/SRC/openSUSE:Factory/.python-websockify.new.3160/python-websockify.changes
2020-03-27 00:21:08.524130511 +0100
@@ -1,0 +2,5 @@
+Thu Mar 12 07:47:53 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix buid without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-websockify.spec ++++++
--- /var/tmp/diff_new_pack.9Cziif/_old 2020-03-27 00:21:09.196130852 +0100
+++ /var/tmp/diff_new_pack.9Cziif/_new 2020-03-27 00:21:09.204130856 +0100
@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-websockify
Version: 0.9.0
Release: 0
Summary: WebSocket to TCP proxy/bridge
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
Source: https://github.com/novnc/websockify/archive/v%{version}.tar.gz
BuildRequires: %{python_module cryptography}
@@ -34,13 +34,15 @@
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module simplejson}
BuildRequires: fdupes
-BuildRequires: python-enum34
BuildRequires: python-rpm-macros
Requires: python-numpy
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python-enum34
+%endif
%if 0%{?suse_version}
Recommends: python-jwcrypto
Recommends: python-redis
@@ -59,7 +61,6 @@
%package -n python-websockify-common
Summary: Common data files for the Websockify TCP proxy/bridge
-Group: Development/Languages/Python
Provides: %{python_module websockify-common = %{version}}
%description -n python-websockify-common