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 42.0.0 (close RHBZ#2502633)
Date: Tue, 21 Jul 2026 05:56:44 GMT	[thread overview]
Message-ID: <178461340448.1.2790901941134487464.rpms-gherkin-650be8bd78d6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gherkin
Branch : rawhide
Commit : 650be8bd78d6b966f2fc961f7ac5119bb4535c66
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-20T16:49:50+01:00
Stats  : +12/-38 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/gherkin/c/650be8bd78d6b966f2fc961f7ac5119bb4535c66?branch=rawhide

Log:
Update to 42.0.0 (close RHBZ#2502633)

---
diff --git a/.gitignore b/.gitignore
index cf7084b..e262484 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
 /gherkin-39.1.0.tar.gz
 /gherkin-40.0.0.tar.gz
 /gherkin-41.0.0.tar.gz
+/gherkin-42.0.0.tar.gz

diff --git a/gherkin-41.0.0-cstring.patch b/gherkin-41.0.0-cstring.patch
deleted file mode 100644
index 4039223..0000000
--- a/gherkin-41.0.0-cstring.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff --git a/cpp/src/lib/gherkin/cucumber/gherkin/exceptions.cpp b/cpp/src/lib/gherkin/cucumber/gherkin/exceptions.cpp
-index 0497842fc..1f02ad022 100644
---- a/cpp/src/lib/gherkin/cucumber/gherkin/exceptions.cpp
-+++ b/cpp/src/lib/gherkin/cucumber/gherkin/exceptions.cpp
-@@ -1,3 +1,4 @@
-+#include <cstring>
- #include <sstream>
- 
- #include <cucumber/gherkin/exceptions.hpp>

diff --git a/gherkin.spec b/gherkin.spec
index f9b734e..364c442 100644
--- a/gherkin.spec
+++ b/gherkin.spec
@@ -12,20 +12,15 @@
 %bcond acceptance_ruby 1
 
 Name:           gherkin
-Version:        41.0.0
+Version:        42.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 41
-%global c_soversion 41
+%global cpp_soversion 42
+%global c_soversion 42
 Release:        %autorelease
 Summary:        A parser and compiler for the Gherkin language
 
-# Fix a missing #include <cstring>; excerpted from a massive commit containing
-# other unrelated changes,
-# https://github.com/cucumber/gherkin/commit/39d5a71caaa2b6e90042a043525c8e6cd8a7be09.
-Patch:          gherkin-41.0.0-cstring.patch
-
 License:        MIT
 URL:            https://github.com/cucumber/gherkin
 Source:         %{url}/archive/v%{version}/gherkin-%{version}.tar.gz
@@ -57,7 +52,7 @@ BuildRequires:  jq
 # For C++ only:
 BuildRequires:  gcc-c++
 BuildRequires:  cmake(nlohmann_json)
-BuildRequires:  cmake(cucumber_messages) >= 31
+BuildRequires:  cmake(cucumber_messages) >= 34.2
 
 # For Python only:
 # The “dev” dependency group contains test dependencies intermixed with
@@ -207,16 +202,6 @@ sed --regexp-extended --in-place 's@python -m@%{python3} -m@' python/Makefile
 # practice.
 %pyproject_patch_dependency uv_build:drop_upper
 
-pushd ruby
-# Ruby: Allow cucumber-messages 33 and 34. Since these packages have the same
-# upstream, we expect this to be updated upstream in due course. If too much
-# time goes by, we might suggest it in a PR similar to
-# https://github.com/cucumber/gherkin/pull/525, only also including the
-# language implementations that have been added since then.
-%gemspec_remove_dep -s cucumber-gherkin.gemspec -g cucumber-messages [">= 31", "< 33"]
-%gemspec_add_dep -s cucumber-gherkin.gemspec -g cucumber-messages [">= 31", "< 35"]
-popd
-
 
 %generate_buildrequires
 %pyproject_buildrequires --directory python
@@ -230,7 +215,7 @@ popd
 
 echo '==== Configuring C++ implementation ===='
 pushd cpp
-%cmake
+%cmake -DCUCUMBER_GHERKIN_FETCH_DEPS:BOOL=OFF
 popd
 
 
@@ -330,7 +315,7 @@ pushd cpp
 # any usable tests yet.
 %ctest
 %if %{with acceptance_cpp}
-# Keep make from trying to rebuild the C++ implementation or invoke cmate.
+# Keep make from trying to rebuild or reinstall the C++ implementation.
 mkdir --parents .built
 # The executables need to load libcucumber_gherkin, so we also set
 # LD_LIBRARY_PATH. The acceptance tests are not safe for parallel execution.
@@ -390,7 +375,7 @@ popd
 
 %files c-devel
 %doc c/README.md
-# Co-owned with packages for other cucumber projects:
+# Co-owned with packages for other cucumber projects, and with the C++ headers:
 %dir %{_includedir}/cucumber/
 # Unique to this package:
 %dir %{_includedir}/cucumber/gherkin/
@@ -408,14 +393,11 @@ popd
 %files cpp-devel
 %doc cpp/README.md
 # https://github.com/cucumber/messages/issues/267#issuecomment-2478224301
-# Co-owned with packages for other cucumber projects:
+# Co-owned with packages for other cucumber projects, and with the C headers:
 %dir %{_includedir}/cucumber/
-# Co-owned with packages for other cucumber projects in the cucumber C++
-# namespace:
-%dir %{_includedir}/cucumber/cucumber/
 # Unique to this package:
-%dir %{_includedir}/cucumber/cucumber/gherkin/
-%{_includedir}/cucumber/cucumber/gherkin/*.hpp
+%dir %{_includedir}/cucumber/gherkin/
+%{_includedir}/cucumber/gherkin/*.hpp
 
 %{_libdir}/libcucumber_gherkin.so
 %{_libdir}/cmake/cucumber_gherkin/

diff --git a/sources b/sources
index 50f5e4f..4c81e7a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gherkin-41.0.0.tar.gz) = 9368dd974c04de6223320c3d18b078c72531ac12a1ecddba95c70cd875539d90e86bf432ad4d40039a473dc03b09ff6d497284394d93a36ad12afeab16282133
+SHA512 (gherkin-42.0.0.tar.gz) = aa06d4f383afd4a0b59571952512738ab78d00c162d1b37f3fda6d7cff5580e983510e3cade0cb6ca30c87da6c0669fdeac0e32a196d3b25a458569abb1cf7c6

                 reply	other threads:[~2026-07-21  5:56 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=178461340448.1.2790901941134487464.rpms-gherkin-650be8bd78d6@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