public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Cristian Le <git@lecris.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Allow to build with CMake 4.0 (rhbz#2381337)
Date: Fri, 28 Aug 2026 13:33:14 GMT	[thread overview]
Message-ID: <178792399444.1.11440688862246564063.rpms-opencv-fb65d41d94c1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : fb65d41d94c16aa4f12fee7c0230d0070dfaea90
Author : Cristian Le <git@lecris.dev>
Date   : 2025-11-12T18:28:03+01:00
Stats  : +6/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/fb65d41d94c16aa4f12fee7c0230d0070dfaea90?branch=opencv5

Log:
Allow to build with CMake 4.0 (rhbz#2381337)

---
diff --git a/opencv.spec b/opencv.spec
index 6c8b425..55d3636 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -75,7 +75,7 @@ Version:        4.11.0
 %global minorver %(foo=%{version}; a=(${foo//./ }); echo ${a[1]} )
 %global padding  %(digits=00; num=%{minorver}; echo ${digits:${#num}:${#digits}} )
 %global abiver   %(echo %{majorver}%{padding}%{minorver} )
-Release:        18%{?dist}
+Release:        19%{?dist}
 Summary:        Collection of algorithms for computer vision
 # This is normal three clause BSD.
 License:        BSD-3-Clause AND Apache-2.0 AND ISC
@@ -466,6 +466,8 @@ cd modules/python/package
 %pyproject_buildrequires
 
 %build
+# TODO: Please submit an issue to upstream (rhbz#2381337)
+export CMAKE_POLICY_VERSION_MINIMUM=3.5
 # enabled by default if libraries are presents at build time:
 # GTK, GSTREAMER, 1394, V4L, eigen3
 # non available on Fedora: FFMPEG, XINE
@@ -648,6 +650,9 @@ cp config-*.py %{buildroot}/%{python3_sitelib}/cv2/
 
 
 %changelog
+* Tue Nov 11 2025 Cristian Le <git@lecris.dev> - 4.11.0-19
+- Allow to build with CMake 4.0 (rhbz#2381337)
+
 * Wed Nov 05 2025 Dominik Mierzejewski <dominik@greysector.net> - 4.11.0-18
 - Rebuilt for FFmpeg 8
 

                 reply	other threads:[~2026-08-28 13:33 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=178792399444.1.11440688862246564063.rpms-opencv-fb65d41d94c1@fedoraproject.org \
    --to=git@lecris.dev \
    --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