From b56a2115a09210fcf51e9ac6bb9e63adbc06f894 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Mon, 21 Feb 2022 15:31:10 +0100 Subject: [PATCH] Add gating configuration and a simple smoke test Related: rhbz#1950291 --- .fmf/version | 1 + gating.yaml | 6 ++++++ plans.fmf | 11 +++++++++++ python-idna.spec | 6 +++++- 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans.fmf b/plans.fmf new file mode 100644 index 0000000..f395040 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import idna' + require: + - python3-idna + duration: 1m +execute: + how: tmt diff --git a/python-idna.spec b/python-idna.spec index a449e3e..c39fc1c 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 2.10 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Internationalized Domain Names in Applications (IDNA) License: BSD and Python and Unicode @@ -59,6 +59,10 @@ rm -rf %{srcname}.egg-info %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog +* Mon Feb 21 2022 Tomas Orsava - 2.10-7 +- Add gating configuration and a simple smoke test +- Related: rhbz#1950291 + * Tue Feb 08 2022 Tomas Orsava - 2.10-6 - Add automatically generated Obsoletes tag with the python39- prefix for smoother upgrade from RHEL8