## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-cucumber-expressions Version: 18.0.1 Release: %autorelease Summary: Cucumber Expressions - a simpler alternative to Regular Expressions License: MIT URL: https://github.com/cucumber/cucumber-expressions # The GitHub archive has test data files; the PyPI sdist does not. Source: %{url}/archive/v%{version}/cucumber-expressions-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Python test dependencies; see [tool.poetry.dev-dependencies] in # python/pyproject.toml. Not all from that section are actually needed, so we # list these manually. BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist PyYAML} %global common_description %{expand: Cucumber Expressions is an alternative to Regular Expressions with a more intuitive syntax.} %description %{common_description} %package -n python3-cucumber-expressions Summary: %{summary} %description -n python3-cucumber-expressions %{common_description} %generate_buildrequires cd python %pyproject_buildrequires %prep %autosetup -n cucumber-expressions-%{version} -p1 %build cd python %pyproject_wheel %install install -t '%{buildroot}%{_pkgdocdir}/general' -p -m 0644 -D \ ARCHITECTURE.md CHANGELOG.md README.md install -t '%{buildroot}%{_pkgdocdir}' -p -m 0644 -D python/README.md %pyproject_install %pyproject_save_files -L cucumber_expressions %check %pyproject_check_import %pytest python/tests -v %files -n python3-cucumber-expressions -f %{pyproject_files} %license python/LICENSE %doc %{_pkgdocdir}/ %changelog ## START: Generated by rpmautospec * Wed Mar 04 2026 Benjamin A. Beasley - 18.0.1-3 - Rebuilt to replace a garbage-collected EPEL10.2 build * Mon Sep 29 2025 Benjamin A. Beasley - 18.0.1-2 - Backport to EPEL10/EPEL9 * Mon Sep 29 2025 Benjamin A. Beasley - 18.0.1-1 - Initial package (close RHBZ#2394793) ## END: Generated by rpmautospec