public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/civetweb] f43: handle cmake-4 doesn't support cmake < 3.5
@ 2026-08-07 18:19 Kaleb S. KEITHLEY
  0 siblings, 0 replies; only message in thread
From: Kaleb S. KEITHLEY @ 2026-08-07 18:19 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/civetweb
            Branch : f43
            Commit : 1ee538cee261ada3a344a2fbc32efcf0da6fccd1
            Author : Kaleb S. KEITHLEY <kkeithle@redhat.com>
            Date   : 2026-02-19T14:23:43-05:00
            Stats  : +18/-8 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/civetweb/c/1ee538cee261ada3a344a2fbc32efcf0da6fccd1?branch=f43

            Log:
            handle cmake-4 doesn't support cmake < 3.5
upstream, civetweb-1.16+ has updated to minimum cmake-3.10, and there
 don't seem to be any adverse effects building civetweb with that change.
 And someday there might even be a civetweb-1.17.

---
diff --git a/0001-CMakeLists.txt.patch b/0001-CMakeLists.txt.patch
index 028c519..9c3950f 100644
--- a/0001-CMakeLists.txt.patch
+++ b/0001-CMakeLists.txt.patch
@@ -1,9 +1,13 @@
---- civetweb-1.16/CMakeLists.txt.orig	2025-07-16 07:44:16.982762892 -0400
-+++ civetweb-1.16/CMakeLists.txt	2025-07-16 07:44:32.894505768 -0400
-@@ -1,5 +1,5 @@
+--- civetweb-1.16/CMakeLists.txt.orig	2026-02-19 13:25:55.181183928 -0500
++++ civetweb-1.16/CMakeLists.txt	2026-02-19 13:26:24.274831312 -0500
+@@ -1,8 +1,6 @@
  # Use at least CMake 3.3
 -cmake_minimum_required (VERSION 3.3.0)
-+cmake_minimum_required (VERSION 3.3.0...4.0)
- cmake_policy(VERSION 3.2.2)
- cmake_policy(SET CMP0054 NEW)
- cmake_policy(SET CMP0057 NEW)
+-cmake_policy(VERSION 3.2.2)
+-cmake_policy(SET CMP0054 NEW)
+-cmake_policy(SET CMP0057 NEW)
++cmake_minimum_required (VERSION 3.10)
++cmake_policy(VERSION 3.10)
+ 
+ # Set up the project
+ project (civetweb)

diff --git a/civetweb.spec b/civetweb.spec
index bd7126b..fc44a2e 100644
--- a/civetweb.spec
+++ b/civetweb.spec
@@ -4,7 +4,7 @@
 Name:           civetweb
 Summary:        Embedded C/C++ web server
 Version:        1.16
-Release:        12%{?dev:%{dev}}%{?dist}
+Release:        13%{?dev:%{dev}}%{?dist}
 License:        MIT
 Url:            https://github.com/civetweb/civetweb
 Source:         https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -64,6 +64,12 @@ mkdir -p %{buildroot}%{_docdir}/civetweb
 %{_datadir}/pkgconfig/*
 
 %changelog
+* Thu Feb 19 2026 Kaleb S. KEITHLEY <kkeithle at redhat.com> - 1.16-13
+- civetweb 1.16, handle cmake-4 doesn't support cmake < 3.5 
+- upstream, civetweb-1.16+ has updated to minimum cmake-3.10, and there
+  don't seem to be any adverse effects building civetweb with that change.
+  And someday there might even be a civetweb-1.17.
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 18:19 [rpms/civetweb] f43: handle cmake-4 doesn't support cmake < 3.5 Kaleb S. KEITHLEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox