From 193c088dc444d4064db60c9339813385ae6943d44cddce75bc06a37918d98bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 28 Mar 2019 14:46:27 +0000 Subject: [PATCH] - 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 --- jsonrpclib-pelix-0.3.1.tar.gz | 3 --- python-jsonrpclib-pelix.changes | 11 +++++++++++ python-jsonrpclib-pelix.spec | 25 ++++++++++++------------- v0.4.0.tar.gz | 3 +++ 4 files changed, 26 insertions(+), 16 deletions(-) delete mode 100644 jsonrpclib-pelix-0.3.1.tar.gz create mode 100644 v0.4.0.tar.gz diff --git a/jsonrpclib-pelix-0.3.1.tar.gz b/jsonrpclib-pelix-0.3.1.tar.gz deleted file mode 100644 index 53d1a1c..0000000 --- a/jsonrpclib-pelix-0.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5417b1508d5a50ec64f6e5b88907f111155d52607b218ff3ba9a777afb2e49e3 -size 29997 diff --git a/python-jsonrpclib-pelix.changes b/python-jsonrpclib-pelix.changes index 9b88d2f..6e271c8 100644 --- a/python-jsonrpclib-pelix.changes +++ b/python-jsonrpclib-pelix.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Mar 28 14:42:47 UTC 2019 - Tomáš Chvátal + +- 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 + ------------------------------------------------------------------- Fri Nov 17 16:29:04 UTC 2017 - mimi.vx@gmail.com diff --git a/python-jsonrpclib-pelix.spec b/python-jsonrpclib-pelix.spec index 1c292c1..f9d4f82 100644 --- a/python-jsonrpclib-pelix.spec +++ b/python-jsonrpclib-pelix.spec @@ -1,7 +1,7 @@ # # spec file for package python-jsonrpclib-pelix # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,23 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jsonrpclib-pelix -Version: 0.3.1 +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://files.pythonhosted.org/packages/source/j/jsonrpclib-pelix/jsonrpclib-pelix-%{version}.tar.gz -BuildRequires: %{python_module base} +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 -BuildRequires: sed BuildArch: noarch %python_subpackages @@ -36,11 +36,7 @@ BuildArch: noarch A Python (2 & 3) JSON-RPC over HTTP that mirrors xmlrpclib syntax. %prep -%setup -q -n jsonrpclib-pelix-%{version} -chmod a-x jsonrpclib/*.py -sed -i '1d' jsonrpclib/*.py -sed -i 's/\r$//' LICENSE.txt -sed -i 's/\r$//' README.rst +%setup -q -n jsonrpclib-%{version} %build %python_build @@ -49,9 +45,12 @@ sed -i 's/\r$//' README.rst %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %{python_sitelib}/* -%license LICENSE.txt -%doc README.rst +%license LICENSE +%doc README.md %changelog diff --git a/v0.4.0.tar.gz b/v0.4.0.tar.gz new file mode 100644 index 0000000..8b889cd --- /dev/null +++ b/v0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfe491c11ede2d2177625c1938aea91b36d01831d0676aa031d7131311fe51d5 +size 57944