public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Allow to build with CMake 4.0 (rhbz#2381337)
@ 2026-08-28 13:33 Cristian Le
0 siblings, 0 replies; only message in thread
From: Cristian Le @ 2026-08-28 13:33 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-28 13:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:33 [rpms/opencv] opencv5: Allow to build with CMake 4.0 (rhbz#2381337) Cristian Le
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox