From 41bf1081fad363295d2d52ea138c088902aedecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Sat, 30 May 2020 02:23:15 +0000 Subject: [PATCH] Generates the variable javaver instead of setting it manually --- opencv.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.