mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-20 05:00:34 +00:00
Merge pull request #7240 from stanford-rc/xCAT-genesis-base_version
Update xCAT-genesis-base.spec
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
%define version %%REPLACE_CURRENT_VERSION%%
|
||||
Version: %{?version:%{version}}%{!?version:%(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
|
||||
%define tarch x86
|
||||
|
Reference in New Issue
Block a user