mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 04:00:17 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue