From c138859e959afb9d9340924e302fa432b73f6b9ff049b124d322896aeb5d9214 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Thu, 20 Aug 2020 06:28:28 +0000 Subject: [PATCH] up to 0.5.2+2 OBS-URL: https://build.opensuse.org/package/show/devel:tools/b4?expand=0&rev=16 --- b4.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/b4.spec b/b4.spec index 439510c..1ab88d8 100644 --- a/b4.spec +++ b/b4.spec @@ -27,6 +27,7 @@ Group: Development/Tools/Other URL: https://git.kernel.org/pub/scm/utils/b4/b4.git Source0: %{name}-%{version}.tar.xz BuildArch: noarch +BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: tar Requires: python3-requests @@ -54,6 +55,12 @@ install -d %{buildroot}/%{_mandir}/man.5 install -m 0644 -t %{buildroot}/%{_mandir}/man.5 man/b4.5 %python_install +%check +%python_exec setup.py check +export PYTHONPATH="./" +%python_exec ./b4/command.py --version >check_version +echo %version | grep "`cat check_version`" + %files %doc README.rst %license COPYING