public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Generates the variable javaver instead of setting it manually
Date: Fri, 28 Aug 2026 13:31:38 GMT	[thread overview]
Message-ID: <178792389837.1.3448502286405090371.rpms-opencv-41bf1081fad3@fedoraproject.org> (raw)

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.

                 reply	other threads:[~2026-08-28 13:31 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=178792389837.1.3448502286405090371.rpms-opencv-41bf1081fad3@fedoraproject.org \
    --to=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