mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 02:30:08 +01:00
contrib/rpm: add rpm_version in spec file
and rename realversion to real_version to follow the pattern.
This commit is contained in:
parent
455b981215
commit
6490dc154c
1 changed files with 4 additions and 3 deletions
|
|
@ -18,7 +18,8 @@
|
|||
|
||||
%global snapshot %{nil}
|
||||
%global git_sha __COMMIT__
|
||||
%global realversion __VERSION__
|
||||
%global rpm_version __VERSION__
|
||||
%global real_version __VERSION__
|
||||
%global release_version __RELEASE_VERSION__
|
||||
%global epoch_version 1
|
||||
|
||||
|
|
@ -88,7 +89,7 @@
|
|||
Name: NetworkManager
|
||||
Summary: Network connection manager and user applications
|
||||
Epoch: %{epoch_version}
|
||||
Version: %{realversion}
|
||||
Version: %{rpm_version}
|
||||
Release: %{release_version}%{snapshot}%{git_sha_version}%{?dist}
|
||||
Group: System Environment/Base
|
||||
License: GPLv2+
|
||||
|
|
@ -341,7 +342,7 @@ by nm-connection-editor and nm-applet in a non-graphical environment.
|
|||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n NetworkManager-%{realversion}
|
||||
%setup -q -n NetworkManager-%{real_version}
|
||||
|
||||
#%patch1 -p1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue