Use macro for converting between GNOME and Fedora pre-release versioning
Use the same macro that we use in other GNOME packages. Having this in place now should make things easier next cycle when we start building alpha/beta/rc releases again.
This commit is contained in:
parent
702c1cc78a
commit
ce0f9eb918
@ -1,5 +1,7 @@
|
||||
%global systemd_unit gnome-remote-desktop.service
|
||||
|
||||
%global tarball_version %%(echo %{version} | tr '~' '.')
|
||||
|
||||
Name: gnome-remote-desktop
|
||||
Version: 40.0
|
||||
Release: 1%{?dist}
|
||||
@ -7,7 +9,7 @@ Summary: GNOME Remote Desktop screen share service
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://gitlab.gnome.org/jadahl/gnome-remote-desktop
|
||||
Source0: https://download.gnome.org/sources/gnome-remote-desktop/40/gnome-remote-desktop-40.0.tar.xz
|
||||
Source0: https://download.gnome.org/sources/gnome-remote-desktop/40/%{name}-%{tarball_version}.tar.xz
|
||||
|
||||
# Adds encryption support (requires patched LibVNCServer)
|
||||
Patch0: gnutls-anontls.patch
|
||||
@ -42,7 +44,7 @@ GNOME desktop environment.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -S git -n %{name}-40.0
|
||||
%autosetup -S git -n %{name}-%{tarball_version}
|
||||
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user