14
0
Files
python-jsonrpclib-pelix/python-jsonrpclib-pelix.spec
Tomáš Chvátal 193c088dc4 - Update to 0.4.0:
* Added back support of Unix sockets on both server and client side.
  * Note: HTTPS is not supported on server-side Unix sockets
  * Fixed the CGI request handler
  * Fixed the request handler wrapping on server side
- Switch to github tarball for tests
- Run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonrpclib-pelix?expand=0&rev=5
2019-03-28 14:46:27 +00:00

57 lines
1.6 KiB
RPMSpec

#
# spec file for package python-jsonrpclib-pelix
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jsonrpclib-pelix
Version: 0.4.0
Release: 0
Summary: JSPN-RPC over HTTP Library for Pelix Remote Services
License: Apache-2.0
Group: Development/Libraries/Python
Url: https://github.com/tcalmant/jsonrpclib/
Source: https://github.com/tcalmant/jsonrpclib/archive/v%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
A Python (2 & 3) JSON-RPC over HTTP that mirrors xmlrpclib syntax.
%prep
%setup -q -n jsonrpclib-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%{python_sitelib}/*
%license LICENSE
%doc README.md
%changelog