Use standard whitespace in spec file

Also, change Source0 to Source now that the latter is preferred in the
packaging guidelines.
This commit is contained in:
Kalev Lember 2023-09-19 10:41:20 +02:00
parent 986bd07f81
commit d104ccb93a

View File

@ -7,51 +7,51 @@
%global tarball_version %%(echo %{version} | tr '~' '.') %global tarball_version %%(echo %{version} | tr '~' '.')
Name: gnome-session Name: gnome-session
Version: 45.0 Version: 45.0
Release: %autorelease Release: %autorelease
Summary: GNOME session manager Summary: GNOME session manager
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://gitlab.gnome.org/GNOME/gnome-session URL: https://gitlab.gnome.org/GNOME/gnome-session
Source0: https://download.gnome.org/sources/gnome-session/45/%{name}-%{tarball_version}.tar.xz Source: https://download.gnome.org/sources/gnome-session/45/%{name}-%{tarball_version}.tar.xz
# Blacklist NV30: https://bugzilla.redhat.com/show_bug.cgi?id=745202 # Blacklist NV30: https://bugzilla.redhat.com/show_bug.cgi?id=745202
Patch: gnome-session-3.3.92-nv30.patch Patch: gnome-session-3.3.92-nv30.patch
Patch: gnome-session-3.6.2-swrast.patch Patch: gnome-session-3.6.2-swrast.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=772421 # https://bugzilla.gnome.org/show_bug.cgi?id=772421
Patch: 0001-check-accelerated-gles-Use-eglGetPlatformDisplay-EXT.patch Patch: 0001-check-accelerated-gles-Use-eglGetPlatformDisplay-EXT.patch
# For https://fedoraproject.org/w/index.php?title=Changes/HiddenGrubMenu # For https://fedoraproject.org/w/index.php?title=Changes/HiddenGrubMenu
# This should go upstream once systemd has a generic interface for this # This should go upstream once systemd has a generic interface for this
Patch: 0001-Fedora-Set-grub-boot-flags-on-shutdown-reboot.patch Patch: 0001-Fedora-Set-grub-boot-flags-on-shutdown-reboot.patch
BuildRequires: meson BuildRequires: meson
BuildRequires: gcc BuildRequires: gcc
BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xau) BuildRequires: pkgconfig(xau)
BuildRequires: pkgconfig(xcomposite) BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xtrans) BuildRequires: pkgconfig(xtrans)
BuildRequires: pkgconfig(xtst) BuildRequires: pkgconfig(xtst)
# this is so the configure checks find /usr/bin/halt etc. # this is so the configure checks find /usr/bin/halt etc.
BuildRequires: usermode BuildRequires: usermode
BuildRequires: gettext BuildRequires: gettext
BuildRequires: intltool BuildRequires: intltool
BuildRequires: xmlto BuildRequires: xmlto
BuildRequires: /usr/bin/xsltproc BuildRequires: /usr/bin/xsltproc
# an artificial requires to make sure we get dconf, for now # an artificial requires to make sure we get dconf, for now
Requires: dconf Requires: dconf