!25 enable test
From: @sherlock2010 Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
a9eb29b896
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 1.7
|
Version: 1.7
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: DBus library in Python 3
|
Summary: DBus library in Python 3
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -20,7 +20,7 @@ to use and extend.}
|
|||||||
|
|
||||||
%package -n python3-%{srcname}
|
%package -n python3-%{srcname}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
BuildRequires: python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools python3-gobject-base python3-pytest dbus-daemon
|
||||||
Requires: python3-gobject-base
|
Requires: python3-gobject-base
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
|
|
||||||
@ -35,6 +35,9 @@ Requires: python3-gobject-base
|
|||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__python3} -m pytest -v
|
||||||
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
@ -42,6 +45,12 @@ Requires: python3-gobject-base
|
|||||||
%{python3_sitelib}/%{srcname}/
|
%{python3_sitelib}/%{srcname}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 28 2023 zhouyihang <zhouyihang3@h-partners.com> - 1.7-2
|
||||||
|
- Type: requirements
|
||||||
|
- ID: NA
|
||||||
|
- SUG: NA
|
||||||
|
- DESC: enable test
|
||||||
|
|
||||||
* Thu Dec 15 2022 lijian <lijian2@kylinos.cn> - 1.7-1
|
* Thu Dec 15 2022 lijian <lijian2@kylinos.cn> - 1.7-1
|
||||||
- update to upstream version 1.7
|
- update to upstream version 1.7
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user