Use version 40~beta instead of 40.0~beta

This makes it easier to map it to upstream version ('~' just replaced with
a '.').

The previous release hasn't gone out to a compose so it's fine to go
backwards in EVR.
This commit is contained in:
Kalev Lember 2021-02-15 15:03:53 +01:00
parent 86bee73767
commit f1b3af6785

View File

@ -7,14 +7,16 @@
%global libgweather_version 3.9.5
%global geoclue_version 2.3.1
%global tarball_version %%(echo %{version} | tr '~' '.')
Name: gnome-settings-daemon
Version: 40.0~beta
Version: 40~beta
Release: 1%{?dist}
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
License: GPLv2+
URL: https://download.gnome.org/sources/%{name}
Source0: https://download.gnome.org/sources/%{name}/40/%{name}-40.beta.tar.xz
Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_version}.tar.xz
Source1: org.gnome.settings-daemon.plugins.power.gschema.override
BuildRequires: meson >= 0.44.0
@ -85,7 +87,7 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1 -n %{name}-40.beta
%autosetup -p1 -n %{name}-%{tarball_version}
%build
%meson
@ -191,10 +193,10 @@ mkdir $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-40.0/gtk-modules
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
%changelog
* Mon Feb 15 2021 Florian Müllner <fmuellner@redhat.com> - 40.0~beta
* Mon Feb 15 2021 Florian Müllner <fmuellner@redhat.com> - 40~beta-1
- Update to 40.beta
* Mon Feb 15 2021 Florian Müllner <fmuellner@redhat.com> - 40.0~alpha.1
* Mon Feb 15 2021 Florian Müllner <fmuellner@redhat.com> - 40~alpha.1-1
- Update to 40.alpha.1
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.38.1-2