fix release version

This commit is contained in:
Thomas Haller 2018-09-21 11:34:19 +02:00
parent 636f76ef4a
commit c30457b402

View File

@ -5,7 +5,7 @@
%global rpm_version 1.8.18 %global rpm_version 1.8.18
%global real_version 1.8.18 %global real_version 1.8.18
%global release_version 1 %global release_version 2
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p') %global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p')