public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cucumber-messages] rawhide: Update to 34.0.2 (close RHBZ#2499721)
@ 2026-07-14 10:34 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-14 10:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/cucumber-messages
Branch : rawhide
Commit : ea1299be50781396b04fa7eefa132fb2454ffd1c
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-14T10:17:04+01:00
Stats : +45/-25 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/cucumber-messages/c/ea1299be50781396b04fa7eefa132fb2454ffd1c?branch=rawhide
Log:
Update to 34.0.2 (close RHBZ#2499721)
---
diff --git a/.gitignore b/.gitignore
index a0954b8..1e89e80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,4 @@
/messages-33.0.3.tar.gz
/messages-33.0.4.tar.gz
/messages-34.0.1.tar.gz
+/messages-34.0.2.tar.gz
diff --git a/478.patch b/478.patch
deleted file mode 100644
index c74a9ff..0000000
--- a/478.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From f6c5bfb0d9db05325833e1fd59adcee6081f70e5 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Mon, 6 Jul 2026 19:45:05 +0100
-Subject: [PATCH] cpp: Find dependencies when not using CPM to download them
-
----
- cpp/cmake/dependencies.cpm.cmake | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/cpp/cmake/dependencies.cpm.cmake b/cpp/cmake/dependencies.cpm.cmake
-index 5268b170..b6557a9d 100644
---- a/cpp/cmake/dependencies.cpm.cmake
-+++ b/cpp/cmake/dependencies.cpm.cmake
-@@ -36,4 +36,6 @@ if(CUCUMBER_MESSAGES_FETCH_DEPS)
- set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH}" PARENT_SCOPE)
- endif()
- endif()
-+else()
-+ find_package(nlohmann_json 3.12.0 REQUIRED)
- endif()
diff --git a/483.patch b/483.patch
new file mode 100644
index 0000000..c010949
--- /dev/null
+++ b/483.patch
@@ -0,0 +1,36 @@
+From 2161716420d2b9935e5994c200519df37fad0a75 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Tue, 14 Jul 2026 10:05:49 +0100
+Subject: [PATCH] Allow finding GTest when not fetching deps
+
+---
+ CHANGELOG.md | 2 ++
+ cpp/cmake/dependencies.cpm.cmake | 4 ++++
+ 2 files changed, 6 insertions(+)
+
+diff --git a/CHANGELOG.md b/CHANGELOG.md
+index e0e3f63f..d14401c8 100644
+--- a/CHANGELOG.md
++++ b/CHANGELOG.md
+@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
+ and this project adheres to [Semantic Versioning](http://semver.org/).
+
+ ## [Unreleased]
++### Fixed
++- [cpp] Allow building tests with system GTest when fetching dependencies is disabled. ([#483](https://github.com/cucumber/messages/pull/483))
+
+ ## [34.0.2] - 2026-07-13
+ ### Added
+diff --git a/cpp/cmake/dependencies.cpm.cmake b/cpp/cmake/dependencies.cpm.cmake
+index 069acb30..eb1c7fa6 100644
+--- a/cpp/cmake/dependencies.cpm.cmake
++++ b/cpp/cmake/dependencies.cpm.cmake
+@@ -56,4 +56,8 @@ if(CUCUMBER_MESSAGES_FETCH_DEPS)
+ endif()
+ else()
+ find_package(nlohmann_json 3.12.0 REQUIRED)
++
++ if (CUCUMBER_MESSAGES_BUILD_TESTS)
++ find_package(GTest REQUIRED)
++ endif()
+ endif()
diff --git a/cucumber-messages.spec b/cucumber-messages.spec
index 0b538a5..52aa6a2 100644
--- a/cucumber-messages.spec
+++ b/cucumber-messages.spec
@@ -11,7 +11,7 @@
%bcond network_tests 0
Name: cucumber-messages
-Version: 34.0.1
+Version: 34.0.2
%global cpp_soversion 34
Release: %autorelease
Summary: A message protocol for representing results and other information from Cucumber
@@ -20,9 +20,8 @@ License: MIT
URL: https://github.com/cucumber/messages
Source: %{url}/archive/v%{version}/messages-%{version}.tar.gz
-# cpp: Find dependencies when not using CPM to download them
-# https://github.com/cucumber/messages/pull/478
-Patch: %{url}/pull/478.patch
+# cpp: Allow finding GTest when not fetching deps
+Patch: %{url}/pull/483.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
@@ -41,6 +40,10 @@ BuildRequires: /usr/bin/ruby
BuildRequires: rubygem(json)
%endif
+# C++ test dependencies
+BuildRequires: cmake(GTest)
+BuildRequires: gmock-devel
+
# Python test dependencies; the "test" and "test-coverage" extras have a lot of
# extra dependencies that are unwanted per
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters,
diff --git a/sources b/sources
index 44cb3bd..c4e18c0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (messages-34.0.1.tar.gz) = d75530bdacfd1d487aaaecffd7093b7faba6703e15125e4006f72299e1e666f1631c922cde8f7a7832a27e844743a2a2ac022bb086d5c2b6e46094316baadc9e
+SHA512 (messages-34.0.2.tar.gz) = 25066359e72cae6aed52347fb8179444d779f153132426aa2af02bb4b46ec41e2a61225ca836b62036acfd682bd014cd68e5621abfc21929e95ef13b1c70b086
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-14 10:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 10:34 [rpms/cucumber-messages] rawhide: Update to 34.0.2 (close RHBZ#2499721) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox