From 9f67a64daf6de4d03553511864bfdc744748e20c Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Tue, 25 Jun 2024 21:28:23 +0200 Subject: [PATCH] Add gating configuration and a simple smoke test --- gating.yaml | 6 ++++++ plans.fmf | 11 +++++++++++ pyelftools.spec | 5 ++++- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 gating.yaml create mode 100644 plans.fmf diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +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..a309c7e --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import elftools' + require: + - python3-pyelftools + duration: 1m +execute: + how: tmt diff --git a/pyelftools.spec b/pyelftools.spec index 5395954..9c95c38 100644 --- a/pyelftools.spec +++ b/pyelftools.spec @@ -4,7 +4,7 @@ Summary: Pure-Python library for parsing and analyzing ELF files Name: pyelftools Version: 0.30 -Release: 4%{?dist} +Release: 5%{?dist} License: Public Domain URL: https://github.com/eliben/pyelftools Source0: https://github.com/eliben/pyelftools/archive/v%{version}/%{name}-%{version}.tar.gz @@ -61,6 +61,9 @@ popd %{python3_sitelib}/pyelftools-*.egg-info %changelog +* Tue Jun 25 2024 Timothy Redaelli - 0.30-5 +- Add gating configuration and a simple smoke test + * Mon Jun 24 2024 Troy Dawson - 0.30-4 - Bump release for June 2024 mass rebuild