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..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/unit.fmf b/plans/unit.fmf new file mode 100644 index 0000000..2377bbb --- /dev/null +++ b/plans/unit.fmf @@ -0,0 +1,10 @@ +summary: wcwidth smoke test + +prepare: + - name: Install packages + how: install + package: python3-wcwidth + +execute: + how: tmt + script: python3 -c 'from wcwidth import wcswidth; exit(0) if wcswidth("漢字") == 4 else exit(1)' diff --git a/python-wcwidth.spec b/python-wcwidth.spec index c3b871c..3a001d8 100644 --- a/python-wcwidth.spec +++ b/python-wcwidth.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 0.2.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Measures number of Terminal column cells of wide-character codes License: MIT @@ -52,6 +52,10 @@ printable width of a string on a Terminal. %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog +* Wed Sep 25 2024 Bryan Gurney - 0.2.6-5 +- Add gating test +- Resolves: RHEL-59856 + * Mon Jun 24 2024 Troy Dawson - 0.2.6-4 - Bump release for June 2024 mass rebuild