From 4d8ebe02ee33fd26f70d7d32a1e81223d938f265 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 22 Feb 2022 18:26:49 +0100 Subject: [PATCH] Add gating configuration and a simple smoke test Related: rhbz#1950291 --- .fmf/version | 1 + gating.yaml | 6 ++++++ plans.fmf | 11 +++++++++++ pybind11.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..a834dcb --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import pybind11' + require: + - python3-pybind11 + duration: 1m +execute: + how: tmt diff --git a/pybind11.spec b/pybind11.spec index 458df49..d7c9c80 100644 --- a/pybind11.spec +++ b/pybind11.spec @@ -17,7 +17,7 @@ Name: pybind11 Version: 2.6.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Seamless operability between C++11 and Python License: BSD URL: https://github.com/pybind/pybind11 @@ -181,6 +181,10 @@ PYBIND11_USE_CMAKE=true %py3_install "--install-purelib" "%{python3_sitearch}" %endif %changelog +* Tue Feb 22 2022 Tomas Orsava - 2.6.2-5 +- Add gating configuration and a simple smoke test +- Related: rhbz#1950291 + * Tue Feb 08 2022 Tomas Orsava - 2.6.2-4 - Add automatically generated Obsoletes tag with the python39- prefix for smoother upgrade from RHEL8