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