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
This commit is contained in:
Bjørn Lie 2023-11-27 15:46:45 +00:00 committed by Git OBS Bridge
parent ad75b34de0
commit 9dc0ef152d
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 27 14:37:12 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
-------------------------------------------------------------------
Wed Sep 7 02:34:56 UTC 2022 - Yifan Jiang <yfjiang@suse.com>

View File

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