mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
contrib/rpm: reorder variable in spec file and set rpm_version
On recent Fedora and RHEL we no longer have differing "rpm_version" and "real_version". So usually "rpm_version" is just the same as "real_version". Update the template spec file to reflect that. For the "build_clean.sh" script, we anyway always set them both to "__VERSION__".
This commit is contained in:
parent
335afba2e6
commit
6bada7fb9e
|
@ -13,8 +13,8 @@
|
||||||
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
|
%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad)
|
||||||
|
|
||||||
%global epoch_version 1
|
%global epoch_version 1
|
||||||
%global rpm_version __VERSION__
|
|
||||||
%global real_version __VERSION__
|
%global real_version __VERSION__
|
||||||
|
%global rpm_version %{real_version}
|
||||||
%global release_version __RELEASE_VERSION__
|
%global release_version __RELEASE_VERSION__
|
||||||
%global snapshot __SNAPSHOT__
|
%global snapshot __SNAPSHOT__
|
||||||
%global git_sha __COMMIT__
|
%global git_sha __COMMIT__
|
||||||
|
|
Loading…
Reference in a new issue