Remove check test and add gating test
Remove the check test from the spec file, and add a gating test. Resolves: rhbz#1986608 Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
parent
35693e1507
commit
8c90b2f4ec
|
@ -0,0 +1,6 @@
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.8
|
Version: 0.8
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Python Library for Generating dbus-python Client Code
|
Summary: Python Library for Generating dbus-python Client Code
|
||||||
|
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
|
@ -21,10 +21,6 @@ Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-dbus
|
|
||||||
BuildRequires: python3-into-dbus-python >= 0.08
|
|
||||||
Requires: python3-dbus
|
|
||||||
Requires: python3-into-dbus-python >= 0.08
|
|
||||||
|
|
||||||
%description -n python3-%{srcname} %{_description}
|
%description -n python3-%{srcname} %{_description}
|
||||||
|
|
||||||
|
@ -39,9 +35,6 @@ Python 3 version.
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verbose tests
|
|
||||||
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
@ -49,6 +42,11 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest discover --verb
|
||||||
%{python3_sitelib}/dbus_python_client_gen-*.egg-info/
|
%{python3_sitelib}/dbus_python_client_gen-*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 29 2021 Bryan Gurney <bgurney@redhat.com> - 0.8-4
|
||||||
|
- Remove check test
|
||||||
|
- Remove BuildRequires for python3-dbus and python3-into-dbus-python
|
||||||
|
- Resolves: rhbz#1986608
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.8-3
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.8-3
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-source
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: ./source
|
||||||
|
run: python -m unittest discover --verbose tests
|
Loading…
Reference in New Issue