From b6ef91e17a1afb33c1109980c486e07c506ff091 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Mon, 21 Feb 2022 15:33:30 +0100 Subject: [PATCH] Add gating configuration and a simple smoke test Related: rhbz#1950291 --- .fmf/version | 1 + gating.yaml | 6 ++++++ plans.fmf | 11 +++++++++++ scipy.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..49ec89b --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import scipy' + require: + - python3-scipy + duration: 1m +execute: + how: tmt diff --git a/scipy.spec b/scipy.spec index 8c2c947..e5aa130 100644 --- a/scipy.spec +++ b/scipy.spec @@ -15,7 +15,7 @@ Summary: Scientific Tools for Python Name: scipy Version: 1.6.2 -Release: 7%{?dist} +Release: 8%{?dist} # BSD -- whole package except: # Boost -- scipy/special/cephes/scipy_iv.c @@ -172,6 +172,10 @@ popd %endif %changelog +* Mon Feb 21 2022 Tomas Orsava - 1.6.2-8 +- Add gating configuration and a simple smoke test +- Related: rhbz#1950291 + * Tue Feb 08 2022 Tomáš Hrnčiar - 1.6.2-7 - Add automatically generated Obsoletes tag with the python39- prefix for smoother upgrade from RHEL8