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} #=============================================================================