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.