Generates the variable javaver instead of setting it manually

This commit is contained in:
Sérgio M. Basto 2020-05-30 02:23:15 +00:00 committed by Nicolas Chauvet
parent 9506b6566a
commit 41bf1081fa

View File

@ -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.