From 9dc0ef152d3b505855c2373b4b8b27e50e1639cc8daf388809724cb6139cb30c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 27 Nov 2023 15:46:45 +0000 Subject: [PATCH] Accepting request 1129157 from GNOME:Next - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1129157 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/log4net?expand=0&rev=4 --- log4net.changes | 6 ++++++ log4net.spec | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/log4net.changes b/log4net.changes index e4fd987..2e7d128 100644 --- a/log4net.changes +++ b/log4net.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 27 14:37:12 UTC 2023 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Wed Sep 7 02:34:56 UTC 2022 - Yifan Jiang diff --git a/log4net.spec b/log4net.spec index 2757559..57db7a1 100644 --- a/log4net.spec +++ b/log4net.spec @@ -1,7 +1,7 @@ # # spec file for package log4net # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,8 +42,7 @@ variety of output targets. log4net is a port of the excellent log4j framework to the .NET runtime %prep -%setup -q -c -%patch1 -p1 +%autosetup -c -p1 sed -i "s|@VERSION@|%{version}|" %{SOURCE2} #=============================================================================