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..d80b4f4 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import attr' + require: + - python3-attrs + duration: 1m +execute: + how: tmt diff --git a/python-attrs.spec b/python-attrs.spec index 508a1dd..9ee2c36 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -6,7 +6,7 @@ Name: python-attrs Version: 20.3.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python attributes without boilerplate License: MIT @@ -58,6 +58,10 @@ PYTHONPATH=%{buildroot}/%{python3_sitelib} py.test-3 -v %{python3_sitelib}/* %changelog +* Tue Feb 22 2022 Tomas Orsava - 20.3.0-7 +- Add gating configuration and a simple smoke test +- Related: rhbz#1950291 + * Tue Feb 08 2022 Tomas Orsava - 20.3.0-6 - Add automatically generated Obsoletes tag with the python39- prefix for smoother upgrade from RHEL8