public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: BR vte-java only on %java_arches
@ 2026-08-28 13:32 Mamoru TASAKA
  0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-08-28 13:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : a81f14f90ae3a8c44c0ef4fef27936cc76076bf9
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2022-07-29T01:01:49+09:00
Stats  : +10/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/a81f14f90ae3a8c44c0ef4fef27936cc76076bf9?branch=opencv5

Log:
BR vte-java only on %java_arches

---
diff --git a/opencv.spec b/opencv.spec
index b0d2a62..836b9f0 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -59,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:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Collection of algorithms for computer vision
 # This is normal three clause BSD.
 License:        BSD
@@ -151,7 +151,12 @@ BuildRequires:  hdf5-devel
 BuildRequires:  openjpeg2-devel
 # Module opencv_ovis disabled because of incompatible OGRE3D version < 1.10
 # BuildRequires:  ogre-devel
-%{?with_vtk:BuildRequires: vtk-devel vtk-java}
+%{?with_vtk:BuildRequires: vtk-devel}
+%{?with_vtk:
+  %{?with_java:
+BuildRequires:  vtk-java
+   }
+}
 %{?with_atlas:BuildRequires: atlas-devel}
 #ceres-solver-devel push eigen3-devel and tbb-devel
 %{?with_tbb:
@@ -492,6 +497,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
 %{_libdir}/libopencv_xphoto.so.{%{abiver},%{version}}
 
 %changelog
+* Fri Jul 29 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4.6.0-6
+- BR vte-java only on %%java_arches
+
 * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
 

^ 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: BR vte-java only on %java_arches Mamoru TASAKA

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