Skip to content

Commit

Permalink
Merge pull request #7240 from stanford-rc/xCAT-genesis-base_version
Browse files Browse the repository at this point in the history
Update xCAT-genesis-base.spec
  • Loading branch information
besawn committed Sep 1, 2022
2 parents 9df17c8 + f3ba47e commit 9e4dfef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xCAT-genesis-builder/xCAT-genesis-base.spec
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9e4dfef

Please sign in to comment.