!16 [sync] PR-14: enable test

From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2023-11-28 03:44:47 +00:00 committed by Gitee
commit dd1ac498b6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.6 Version: 1.6
Release: 2 Release: 3
Summary: DBus library in Python 3 Summary: DBus library in Python 3
License: LGPLv2+ License: LGPLv2+
@ -22,7 +22,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
Requires: python3-gobject-base Requires: python3-gobject-base
%{?python_provide:%python_provide python3-%{srcname}} %{?python_provide:%python_provide python3-%{srcname}}
@ -37,6 +37,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
@ -44,6 +47,12 @@ Requires: python3-gobject-base
%{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}/
%changelog %changelog
* Mon Nov 27 2023 zhouyihang <zhouyihang3@h-partners.com> - 1.6-3
- Type: requirements
- ID: NA
- SUG: NA
- DESC: enable test
* Fri Oct 21 2022 zhouyihang <zhouyihang3@h-partners.com> - 1.6-2 * Fri Oct 21 2022 zhouyihang <zhouyihang3@h-partners.com> - 1.6-2
- Type: bugfix - Type: bugfix
- ID: NA - ID: NA