forked from pool/python-py-ubjson
Accepting request 708251 from home:pgajdos
- enable unit tests OBS-URL: https://build.opensuse.org/request/show/708251 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-ubjson?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
3ba13a22d4
commit
553cdd71ef
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 7 08:28:55 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- enable unit tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 9 14:48:11 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
|
@@ -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 @@ encoder/decoder based on the `draft-12` specification.
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%check
|
||||
touch test/__init__.py
|
||||
%python_expand $python -munittest discover -v
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
Reference in New Issue
Block a user