From 9a79cbab507e319beb1a68bac6b26366b62c6920 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Wed, 16 Feb 2022 16:38:17 +0100 Subject: [PATCH] Add gating configuration and a simple smoke test --- .fmf/version | 1 + .python-pysocks.metadata | 1 + gating.yaml | 6 ++++++ plans.fmf | 11 +++++++++++ python-pysocks.spec | 6 +++++- 5 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .fmf/version create mode 100644 .python-pysocks.metadata 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/.python-pysocks.metadata b/.python-pysocks.metadata new file mode 100644 index 0000000..6479bc1 --- /dev/null +++ b/.python-pysocks.metadata @@ -0,0 +1 @@ +439b5044af79748972675f3d9af1f4c91753d0db PySocks-1.7.1.tar.gz 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..87990e3 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import socks' + require: + - python3-pysocks + duration: 1m +execute: + how: tmt diff --git a/python-pysocks.spec b/python-pysocks.spec index 2481570..68547e8 100644 --- a/python-pysocks.spec +++ b/python-pysocks.spec @@ -8,7 +8,7 @@ Name: python-%{modname} Version: 1.7.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: %{sum} License: BSD @@ -115,6 +115,10 @@ rm -rfv test/bin %changelog +* Wed Feb 16 2022 Tomas Orsava - 1.7.1-12 +- Add gating configuration and a simple smoke test +- Related: rhbz#1950291 + * Tue Feb 08 2022 Tomáš Hrnčiar - 1.7.1-11 - Add automatically generated Obsoletes tag with the python39- prefix for smoother upgrade from RHEL8