public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vitaly <vitaly@easycoding.org>
To: git-commits@fedoraproject.org
Subject: [rpms/cxxopts] epel10.3: Added compatibility with CMake 4.
Date: Tue, 22 Sep 2026 01:32:29 GMT [thread overview]
Message-ID: <179004074950.1.2746532557672922558.rpms-cxxopts-851019ce474f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/cxxopts
Branch : epel10.3
Commit : 851019ce474f7562d61ccd4fcd79bf3ad48565ea
Author : Vitaly <vitaly@easycoding.org>
Date : 2025-03-12T10:09:13+01:00
Stats : +46/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/cxxopts/c/851019ce474f7562d61ccd4fcd79bf3ad48565ea?branch=epel10.3
Log:
Added compatibility with CMake 4.
---
diff --git a/cxxopts-3.2.1-cmake4-compatibility.patch b/cxxopts-3.2.1-cmake4-compatibility.patch
new file mode 100644
index 0000000..74508ef
--- /dev/null
+++ b/cxxopts-3.2.1-cmake4-compatibility.patch
@@ -0,0 +1,44 @@
+From 050ccd8badc6c706c4d20b3db48b319cc5bd9187 Mon Sep 17 00:00:00 2001
+From: Vitaly <vitaly@easycoding.org>
+Date: Wed, 12 Mar 2025 09:59:07 +0100
+Subject: [PATCH] Added compatibility with CMake 4.
+
+---
+ CMakeLists.txt | 2 +-
+ test/add-subdirectory-test/CMakeLists.txt | 2 +-
+ test/find-package-test/CMakeLists.txt | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a6e4e86e..110d3dd7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -17,7 +17,7 @@
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ # THE SOFTWARE.
+-cmake_minimum_required(VERSION 3.1...3.19)
++cmake_minimum_required(VERSION 3.5...3.19)
+
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
+ include(cxxopts)
+diff --git a/test/add-subdirectory-test/CMakeLists.txt b/test/add-subdirectory-test/CMakeLists.txt
+index ec14d597..8bf81e3a 100644
+--- a/test/add-subdirectory-test/CMakeLists.txt
++++ b/test/add-subdirectory-test/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5...3.19)
+
+ project(cxxopts-test)
+
+diff --git a/test/find-package-test/CMakeLists.txt b/test/find-package-test/CMakeLists.txt
+index b88d7c9d..0bc60384 100644
+--- a/test/find-package-test/CMakeLists.txt
++++ b/test/find-package-test/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5...3.19)
+
+ project(cxxopts-test)
+
diff --git a/cxxopts.spec b/cxxopts.spec
index 29a12d8..2dec325 100644
--- a/cxxopts.spec
+++ b/cxxopts.spec
@@ -11,6 +11,8 @@ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://github.com/jarro2783/cxxopts/commit/63d1b65a694cfceafc20863afa75df49dfbe6b2a
Patch100: %{name}-3.2.1-add-missing-include.patch
+# https://github.com/jarro2783/cxxopts/pull/451
+Patch101: %{name}-3.2.1-cmake4-compatibility.patch
BuildRequires: cmake
BuildRequires: gcc-c++
reply other threads:[~2026-09-22 1: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=179004074950.1.2746532557672922558.rpms-cxxopts-851019ce474f@fedoraproject.org \
--to=vitaly@easycoding.org \
--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