2
0
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:
besawn
2022-09-01 15:41:03 -04:00
committed by GitHub

View File

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