public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: (#2104082) only build Java sub package on arches that java is supported
@ 2026-08-28 13:32 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-28 13:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : 4b9a0658c8db6c76f0e2c16278e04b6d5a679c8a
Author : Sérgio M. Basto <sergio@serjux.com>
Date   : 2022-07-06T14:51:36+01:00
Stats  : +9/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/4b9a0658c8db6c76f0e2c16278e04b6d5a679c8a?branch=opencv5

Log:
(#2104082) only build Java sub package on arches that java is supported

---
diff --git a/opencv.spec b/opencv.spec
index 0faa6ee..272acd6 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -34,7 +34,12 @@
 %bcond_with     libmfx
 %endif
 %bcond_without  clp
+%ifarch %{java_arches}
 %bcond_without  java
+%else
+%bcond_with  java
+%endif
+
 %bcond_without  vulkan
 
 %define _lto_cflags %{nil}
@@ -54,7 +59,7 @@ Version:        4.6.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:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Collection of algorithms for computer vision
 # This is normal three clause BSD.
 License:        BSD
@@ -487,6 +492,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
 %{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}}
 
 %changelog
+* Wed Jul 06 2022 Sérgio Basto <sergio@serjux.com> - 4.6.0-3
+- (#2104082) only build Java sub package on arches that java is supported
+
 * Mon Jun 20 2022 Sérgio Basto <sergio@serjux.com> - 4.6.0-2
 - Rebuilt for Python 3.11 (is just arrived to rawhide)
 

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

only message in thread, other threads:[~2026-08-28 13:32 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:32 [rpms/opencv] opencv5: (#2104082) only build Java sub package on arches that java is supported 

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