From 7a3af60fa7f49b77796c6833c4647d91dc261be87f388617bc3185aeccf4af7c Mon Sep 17 00:00:00 2001 From: Edgar Aichinger Date: Thu, 22 Feb 2024 14:50:21 +0000 Subject: [PATCH] Accepting request 1149493 from home:dimstar:rpm4.20:n Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149493 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/non-ntk?expand=0&rev=24 --- non-ntk.changes | 6 ++++++ non-ntk.spec | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/non-ntk.changes b/non-ntk.changes index 7c67e16..1daa189 100644 --- a/non-ntk.changes +++ b/non-ntk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 14:03:15 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Sat Feb 3 10:08:33 UTC 2024 - Dominique Leuenberger diff --git a/non-ntk.spec b/non-ntk.spec index 0e7f114..55cb3ab 100644 --- a/non-ntk.spec +++ b/non-ntk.spec @@ -76,9 +76,7 @@ Requires: %{name}-devel %{summary}, an interactive GUI designer for %{name}. %prep -%setup -q -n ntk-%{version} -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 -n ntk-%{version} sed -i -e "s|append_value('C\(.*\)FLAGS', CFLAGS|append_value('C\1FLAGS','%{optflags}'.split(' ')|" \ wscript