14
0

Accepting request 895931 from home:pgajdos:python

- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/895931
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-bidi?expand=0&rev=11
This commit is contained in:
2021-05-28 09:36:48 +00:00
committed by Git OBS Bridge
parent 7d53eb6623
commit 35e5607821
2 changed files with 8 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-bidi
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module six}
@@ -53,7 +53,7 @@ sed -i -e '/^#!\//, 1d' bidi/__init__.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pyunittest discover -v
%post
%python_install_alternative pybidi