Remove check test and add gating test
Remove the check test from the spec file, and add a gating test. Resolves: rhbz#1986609 Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
parent
9d4860ce41
commit
7448c0ca40
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -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}
|
||||
Version: 0.08
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Transformer to dbus-python types
|
||||
|
||||
License: ASL 2.0
|
||||
@ -23,10 +23,6 @@ Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-dbus-signature-pyparsing
|
||||
BuildRequires: python3-dbus
|
||||
Requires: python3-dbus-signature-pyparsing
|
||||
Requires: python3-dbus
|
||||
|
||||
%description -n python3-%{srcname} %{_description}
|
||||
|
||||
@ -41,9 +37,6 @@ Python 3 version.
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest -v tests/test_deterministic.py
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
@ -51,6 +44,11 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest -v tests/test_d
|
||||
%{python3_sitelib}/into_dbus_python-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Thu Jul 29 2021 Bryan Gurney <bgurney@redhat.com> - 0.08-4
|
||||
- Remove check test
|
||||
- Remove BuildRequires for python3-dbus-signature-pyparsing and python3-dbus
|
||||
- Resolves: rhbz#1986609
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.08-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
|
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal file
@ -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 -v tests/test_deterministic.py
|
Loading…
Reference in New Issue
Block a user