public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/gherkin] rawhide: Update to 43.0.0 (close RHBZ#2572914)
Date: Fri, 13 Nov 2026 16:32:31 GMT [thread overview]
Message-ID: <179458755103.1.4722229232553833131.rpms-gherkin-0dcc825057de@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gherkin
Branch : rawhide
Commit : 0dcc825057de24fb60d1b5c2da7c9eff1768b638
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-13T14:20:47+00:00
Stats : +26/-8 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gherkin/c/0dcc825057de24fb60d1b5c2da7c9eff1768b638?branch=rawhide
Log:
Update to 43.0.0 (close RHBZ#2572914)
---
diff --git a/gherkin.spec b/gherkin.spec
index 709a897..78a366a 100644
--- a/gherkin.spec
+++ b/gherkin.spec
@@ -11,13 +11,20 @@
%bcond acceptance_python 1
%bcond acceptance_ruby 1
+# The re2 regex engine is an optional, upstream-preferred alternative to
+# std::regex. It offers modestly better performance and guaranteed linear-time
+# matching. See cpp/README.md, which notes, “Both backends support the parser’s
+# patterns. Custom regex patterns must be compatible with the selected backend:
+# RE2 does not support backreferences or lookaround.”
+%bcond re2 1
+
Name: gherkin
-Version: 42.0.1
+Version: 43.0.0
# While SONAME versions are based on the major version number, we repeat them
# here as a reminder, hopefully reducing the chance of an unintended SONAME
# version bump.
-%global cpp_soversion 42
-%global c_soversion 42
+%global cpp_soversion 43
+%global c_soversion 43
Release: %autorelease
Summary: A parser and compiler for the Gherkin language
@@ -51,8 +58,16 @@ BuildRequires: jq
# For C++ only:
BuildRequires: gcc-c++
-BuildRequires: cmake(nlohmann_json)
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_header_only_libraries
+BuildRequires: cmake(nlohmann_json) json-static
BuildRequires: cmake(cucumber_messages) >= 34.2
+%if %{with re2}
+BuildRequires: cmake(re2)
+%endif
+
+# C++ test dependencies
+BuildRequires: cmake(GTest)
+BuildRequires: gmock-devel
# For Python only:
# The “dev” dependency group contains test dependencies intermixed with
@@ -215,7 +230,7 @@ popd
echo '==== Configuring C++ implementation ===='
pushd cpp
-%cmake -DCUCUMBER_GHERKIN_FETCH_DEPS:BOOL=OFF
+%cmake -DCUCUMBER_GHERKIN_BUILD_TESTS:BOOL=ON
popd
@@ -300,6 +315,10 @@ pushd c
%if %{with acceptance_c}
# Keep make from trying to rebuild the C implementation.
touch .built
+# The above stopped working in version 43.0.0, and we haven’t figured out why,
+# so we rely on the following hack instead:
+cp --preserve Makefile Makefile.bak
+sed --regexp-extended '/\$\(MAKE\) --directory=src/d' Makefile.bak > Makefile
# The executables need to load libgherkin, so we also set LD_LIBRARY_PATH. We
# could omit this since copies of the libraries are in %%{_vpath_builddir}
# alongside the executables, but we might as well use the copies in the
@@ -307,13 +326,12 @@ touch .built
LD_LIBRARY_PATH='%{buildroot}%{_libdir}' %make_build acceptance \
GHERKIN='%{_vpath_builddir}/gherkinexe' \
GHERKIN_GENERATE_TOKENS='%{_vpath_builddir}/gherkin_generate_tokens'
+mv Makefile.bak Makefile
%endif
popd
echo '==== Testing C++ implementation ===='
pushd cpp
-# We think this is the intended way to run tests, but there don’t appear to be
-# any usable tests yet.
%ctest
%if %{with acceptance_cpp}
# Keep make from trying to rebuild or reinstall the C++ implementation.
diff --git a/sources b/sources
index b0c3792..43251b3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gherkin-42.0.1.tar.gz) = b07f66d458ab28dc0954defb6bcb6db9b3585ea2ef7aca2816ae8075ea5da308ba8a92478073483f25d4d520ce82062bccea81c20a1a59dc8f91c8aa31f4e4df
+SHA512 (gherkin-43.0.0.tar.gz) = 3c227e7b9207d6c1ab5fda2377850fc1e51429944c373320a0d0d8d52c6c650b74dfe30f2d0cc7ca0b39facc393ebd0a27dd281588576862c62ad2a1409cd1f3
reply other threads:[~2026-11-13 16:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179458755103.1.4722229232553833131.rpms-gherkin-0dcc825057de@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox