Use tilde pre-release versioning
This commit is contained in:
parent
9f7531b2da
commit
c5ea9c7e4a
@ -10,6 +10,8 @@
|
||||
|
||||
%global apiver 40.0
|
||||
|
||||
%global tarball_version %%(echo %{version} | tr '~' '.')
|
||||
|
||||
Name: gedit
|
||||
Epoch: 2
|
||||
Version: 40.0
|
||||
@ -18,7 +20,7 @@ Summary: Text editor for the GNOME desktop
|
||||
|
||||
License: GPLv2+ and GFDL
|
||||
URL: https://wiki.gnome.org/Apps/Gedit
|
||||
Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{version}.tar.xz
|
||||
Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_version}.tar.xz
|
||||
|
||||
# https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/252#note_742198
|
||||
Patch1: restore-overlay-scrollbars.patch
|
||||
@ -95,7 +97,7 @@ to gedit.
|
||||
Install gedit-devel if you want to write plugins for gedit.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1 -n %{name}-%{tarball_version}
|
||||
|
||||
%build
|
||||
%meson -Dgtk_doc=true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user