Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websockify?expand=0&rev=31
This commit is contained in:
parent
a85bcf7012
commit
8ca4d180e4
@ -23,7 +23,7 @@ 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
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/kanaka/websockify
|
URL: https://github.com/kanaka/websockify
|
||||||
Source: https://files.pythonhosted.org/packages/source/w/websockify/websockify-%{version}.tar.gz
|
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
|
# 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
|
Patch1: u_Add-support-for-inetd.patch
|
||||||
@ -32,16 +32,14 @@ Patch2: u_Fix-inetd-mode-on-python-2.patch
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
%if 0%{?suse_version}
|
|
||||||
Recommends: python-numpy
|
|
||||||
%endif
|
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires: python-websockify-common = %{version}
|
Requires: python-websockify-common = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
Recommends: python-numpy
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -92,13 +90,13 @@ chmod -x include/web-socket-js/web_socket.js
|
|||||||
%python_uninstall_alternative websockify
|
%python_uninstall_alternative websockify
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt
|
||||||
%doc CHANGES.txt LICENSE.txt README.md
|
%doc CHANGES.txt README.md
|
||||||
%python_alternative %{_bindir}/websockify
|
%python_alternative %{_bindir}/websockify
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%files -n python-websockify-common
|
%files -n python-websockify-common
|
||||||
%doc LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{_datadir}/websockify
|
%{_datadir}/websockify
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user