Hello community,
here is the log from the commit of package python-jsonrpclib-pelix for
openSUSE:Factory checked in at 2019-04-02 09:21:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonrpclib-pelix (Old)
and /work/SRC/openSUSE:Factory/.python-jsonrpclib-pelix.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonrpclib-pelix"
Tue Apr 2 09:21:53 2019 rev:2 rq:689390 version:0.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jsonrpclib-pelix/python-jsonrpclib-pelix.changes
2018-01-10 23:30:12.961966505 +0100
+++
/work/SRC/openSUSE:Factory/.python-jsonrpclib-pelix.new.25356/python-jsonrpclib-pelix.changes
2019-04-02 09:22:00.180694585 +0200
@@ -1,0 +2,11 @@
+Thu Mar 28 14:42:47 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
jsonrpclib-pelix-0.3.1.tar.gz
New:
----
v0.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jsonrpclib-pelix.spec ++++++
--- /var/tmp/diff_new_pack.EBqH4X/_old 2019-04-02 09:22:03.656697841 +0200
+++ /var/tmp/diff_new_pack.EBqH4X/_new 2019-04-02 09:22:03.660697845 +0200
@@ -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 @@
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 @@
%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