Hello community,
here is the log from the commit of package python-py-ubjson for
openSUSE:Factory checked in at 2019-06-07 18:02:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py-ubjson (Old)
and /work/SRC/openSUSE:Factory/.python-py-ubjson.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py-ubjson"
Fri Jun 7 18:02:11 2019 rev:3 rq:708263 version:0.13.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py-ubjson/python-py-ubjson.changes
2019-04-14 12:22:02.143733316 +0200
+++
/work/SRC/openSUSE:Factory/.python-py-ubjson.new.4811/python-py-ubjson.changes
2019-06-07 18:02:12.893780591 +0200
@@ -1,0 +2,5 @@
+Fri Jun 7 08:28:55 UTC 2019 - [email protected]
+
+- enable unit tests
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-py-ubjson.spec ++++++
--- /var/tmp/diff_new_pack.7fQA57/_old 2019-06-07 18:02:13.393780414 +0200
+++ /var/tmp/diff_new_pack.7fQA57/_new 2019-06-07 18:02:13.393780414 +0200
@@ -12,7 +12,8 @@
# 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-%{**}}
@@ -20,16 +21,15 @@
Name: python-py-ubjson
Version: 0.13.0
Release: 0
-License: Apache-2.0
Summary: Universal Binary JSON encoder/decoder
-Url: https://github.com/Iotic-Labs/py-ubjson
+License: Apache-2.0
Group: Development/Languages/Python
+Url: https://github.com/Iotic-Labs/py-ubjson
Source:
https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
-BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
-
+BuildRequires: python-rpm-macros
%python_subpackages
%description
@@ -42,6 +42,10 @@
%build
%python_build
+%check
+touch test/__init__.py
+%python_expand $python -munittest discover -v
+
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}