- Use %autosetup macro. Allows to eliminate the usage of deprecated

%patchN.

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-session?expand=0&rev=48
This commit is contained in:
Michael Vetter 2024-02-21 07:19:44 +00:00 committed by Git OBS Bridge
parent a21f736007
commit 628e50980c
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 21 07:19:35 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
-------------------------------------------------------------------
Mon Nov 6 02:39:13 UTC 2023 - Shawn Dunn <sfalken@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package lxqt-session
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -47,7 +47,7 @@ BuildRequires: pkgconfig(lxqt) >= %{version}
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(x11-xcb)
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
Requires: qtxdg-tools
Recommends: %{name}-lang
Obsoletes: lxqt-common <= 0.12.0
@ -62,9 +62,7 @@ use when a user logs out and to restart them the next time the user logs in.
%lang_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%autosetup -p1
# Changing LXQt into X-LXQt in desktop files to be freedesktop compliant and shut rpmlint warnings
#find -name '*desktop.in*' -exec sed -ri 's/(LXQt;)/X-\1/' {} +