mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
hard-code latest xCAT version, in case this RPM is built outside of the xcat-core repo
This commit is contained in:
parent
1508bff83c
commit
d3a23d48dd
@ -1,4 +1,4 @@
|
||||
%global version %(rpm -q xCAT --qf "%{VERSION}" 2>/dev/null | grep -Po '[0-9\.]+' || cat ../Version)
|
||||
%global version %(rpm -q xCAT --qf "%{VERSION}" 2>/dev/null | grep -Po %%'[0-9\.]+' || echo "2.16.5")
|
||||
Version: %{version}
|
||||
Release: %{?release:%{release}}%{!?release:snap%(date +"%Y%m%d%H%M")}
|
||||
%ifarch i386 i586 i686 x86
|
||||
|
Loading…
x
Reference in New Issue
Block a user