2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

xCAT-genesis-base.spec can not access the Release file, use snap+date directly

This commit is contained in:
ertaozh 2017-01-11 01:42:08 -05:00
parent b8e3be7464
commit 0ff2925985

View File

@ -1,6 +1,6 @@
%define version %%REPLACE_CURRENT_VERSION%%
Version: %{?version:%{version}}%{!?version:%(cat Version)}
Release: %{?release:%{release}}%{!?release:%(cat Release)}
Release: %{?release:%{release}}%{!?release:snap%(date +"%Y%m%d%H%M")}
%ifarch i386 i586 i686 x86
%define tarch x86
%endif