mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-23 03:04:18 +00:00
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:
parent
ac888de151
commit
c87e1ef525
|
@ -37,7 +37,7 @@
|
||||||
%global git_sha_dot .%{git_sha}
|
%global git_sha_dot .%{git_sha}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global snap %{?git_sha_dot}%{?snapshot_dot}
|
%global snap %{?snapshot_dot}%{?git_sha_dot}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue