From 4423cc5ee5527568f5465a75411d88713031766d7d5070695c13c5e0a34abd57 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Wed, 6 Mar 2024 01:05:25 +0000 Subject: [PATCH] Accepting request 1153566 from home:pgajdos:l - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1153566 OBS-URL: https://build.opensuse.org/package/show/X11:Unity/libdbusmenu?expand=0&rev=23 --- libdbusmenu.changes | 6 ++++++ libdbusmenu.spec | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libdbusmenu.changes b/libdbusmenu.changes index 52efbc6..a14e04d 100644 --- a/libdbusmenu.changes +++ b/libdbusmenu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 16:06:37 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Sat Sep 24 08:46:21 UTC 2022 - Dirk Müller diff --git a/libdbusmenu.spec b/libdbusmenu.spec index 3f7db2f..a408cc9 100644 --- a/libdbusmenu.spec +++ b/libdbusmenu.spec @@ -200,10 +200,7 @@ Requires: pkgconfig(json-glib-1.0) This package contains the development files for the dbusmenu-jsonloader library. %prep -%setup -q -n %{sname}-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 -n %{sname}-%{version} %build export CFLAGS="%{optflags} -Wno-error"