public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kaleb S. KEITHLEY <kkeithle@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/civetweb] f43: handle cmake-4 doesn't support cmake < 3.5
Date: Fri, 07 Aug 2026 18:19:25 GMT	[thread overview]
Message-ID: <178612676528.1.900957737893933261.rpms-civetweb-1ee538cee261@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-08-07 18:19 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=178612676528.1.900957737893933261.rpms-civetweb-1ee538cee261@fedoraproject.org \
    --to=kkeithle@redhat.com \
    --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