From 9b6f9225f174507e3563f43a268ca103a4bee366 Mon Sep 17 00:00:00 2001 From: sherlock2010 <15151851377@163.com> Date: Tue, 28 Nov 2023 12:03:39 +0000 Subject: [PATCH] enable test (cherry picked from commit 12da322e9e8998107a43e6148c4cb026113740d1) --- python-dasbus.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/python-dasbus.spec b/python-dasbus.spec index e86fea5..b009938 100644 --- a/python-dasbus.spec +++ b/python-dasbus.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 1.3 -Release: 2 +Release: 4 Summary: DBus library in Python 3 License: LGPLv2+ @@ -22,7 +22,7 @@ to use and extend.} %package -n python3-%{srcname} Summary: %{summary} -BuildRequires: python3-devel python3-setuptools +BuildRequires: python3-devel python3-setuptools python3-gobject-base python3-pytest dbus-daemon Requires: python3-gobject-base %{?python_provide:%python_provide python3-%{srcname}} @@ -37,6 +37,9 @@ Requires: python3-gobject-base %install %py3_install +%check +%{__python3} -m pytest -v + %files -n python3-%{srcname} %license LICENSE %doc README.md @@ -44,6 +47,18 @@ Requires: python3-gobject-base %{python3_sitelib}/%{srcname}/ %changelog +* Tue Nov 28 2023 zhouyihang - 1.3-4 +- Type: requirements +- ID: NA +- SUG: NA +- DESC: add build require dbus-daemon for test + +* Mon Nov 27 2023 zhouyihang - 1.3-3 +- Type: requirements +- ID: NA +- SUG: NA +- DESC: enable test + * Fri Oct 21 2022 zhouyihang - 1.3-2 - Type:bugfix - ID:NA