public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Generates the variable javaver instead of setting it manually
@ 2026-08-28 13:31 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-28 13:31 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : 41bf1081fad363295d2d52ea138c088902aedecd
Author : Sérgio M. Basto <sergio@serjux.com>
Date   : 2020-06-04T17:20:06+02:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/41bf1081fad363295d2d52ea138c088902aedecd?branch=opencv5

Log:
Generates the variable javaver instead of setting it manually

---
diff --git a/opencv.spec b/opencv.spec
index f7cd605..d54372d 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -45,7 +45,6 @@
 
 %global srcname opencv
 %global abiver  4.3
-%global javaver 430
 
 # Required because opencv-core has lot of spurious dependencies
 # (despite supposed to be "-core")
@@ -55,6 +54,7 @@
 
 Name:           opencv
 Version:        4.3.0
+%global javaver %(foo=%{version}; echo ${foo//./})
 Release:        3%{?dist}
 Summary:        Collection of algorithms for computer vision
 # This is normal three clause BSD.

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

only message in thread, other threads:[~2026-08-28 13:31 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:31 [rpms/opencv] opencv5: Generates the variable javaver instead of setting it manually 

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