Remove check test and add gating test
Remove the check test, and add a gating test. Also remove the Requires and BuildRequires lines for python3-pyparsing, as the build only required it for the now-removed check test, and the Python package build will use setup.py to auto-generate Requires lines. Resolves: rhbz#1986574 Signed-off-by: Bryan Gurney <bgurney@redhat.com>
This commit is contained in:
parent
ff25440010
commit
d7a0f7b939
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.04
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Parser for a D-Bus Signature
|
||||
|
||||
License: ASL 2.0
|
||||
@ -21,8 +21,6 @@ Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pyparsing
|
||||
Requires: python3-pyparsing
|
||||
|
||||
%description -n python3-%{srcname} %{_description}
|
||||
|
||||
@ -37,9 +35,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
|
||||
@ -47,6 +42,11 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -m unittest -v tests/test_d
|
||||
%{python3_sitelib}/dbus_signature_pyparsing-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Wed Jul 28 2021 Bryan Gurney <bgurney@redhat.com> - 0.04-4
|
||||
- Remove check test
|
||||
- Remove Requires and BuildRequires for python3-pyparsing
|
||||
- Resolves: rhbz#1986574
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.04-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