forked from pool/python-websockify
Accepting request 528735 from home:michalsrb:branches:fate323880
- add u_Add-support-for-inetd.patch: fate#323880 - add u_Fix-inetd-mode-on-python-2.patch: fate#323880 OBS-URL: https://build.opensuse.org/request/show/528735 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockify?expand=0&rev=26
This commit is contained in:
@@ -25,6 +25,10 @@ License: LGPL-3.0 and MPL-2.0 and BSD-2-Clause and BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/kanaka/websockify
|
||||
Source: https://files.pythonhosted.org/packages/source/w/websockify/websockify-%{version}.tar.gz
|
||||
# PATCH-FEATURE-UPSTREAM u_Add-support-for-inetd.patch fate#323880 msrb@suse.com -- https://github.com/novnc/websockify/pull/293
|
||||
Patch1: u_Add-support-for-inetd.patch
|
||||
# PATCH-FEATURE-UPSTREAM u_Fix-inetd-mode-on-python-2.patch fate#323880 msrb@suse.com -- https://github.com/novnc/websockify/pull/293
|
||||
Patch2: u_Fix-inetd-mode-on-python-2.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -68,6 +72,8 @@ This package contains common files.
|
||||
|
||||
%prep
|
||||
%setup -q -n websockify-%{version}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
# remove unwanted shebang
|
||||
sed -i '1 { /^#!/ d }' websockify/websocket*.py
|
||||
# drop unneeded executable bit
|
||||
|
||||
Reference in New Issue
Block a user