contrib/rpm: fix %{snap} define to have snapshot before git-sha

In case, where both
  %global snapshot git20160606
  %global git_sha b769b4df
is set, they version number should be
  .git20160606.b769b4df
not
  .b769b4df.git20160606
This commit is contained in:
Thomas Haller 2016-07-07 11:19:26 +02:00
parent ac888de151
commit c87e1ef525

View File

@ -37,7 +37,7 @@
%global git_sha_dot .%{git_sha}
%endif
%global snap %{?git_sha_dot}%{?snapshot_dot}
%global snap %{?snapshot_dot}%{?git_sha_dot}
###############################################################################