From 739b17cda5434c2b1eedd45d52526e68fe50fcc97272de269e21eb791605fded Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 29 Feb 2024 16:20:52 +0000 Subject: [PATCH] Accepting request 1153469 from home:pgajdos:l - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1153469 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libevent?expand=0&rev=54 --- libevent.changes | 6 ++++++ libevent.spec | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libevent.changes b/libevent.changes index 86761ed..04addbd 100644 --- a/libevent.changes +++ b/libevent.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 16:15:04 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Sun Jan 15 22:06:53 UTC 2023 - Cristian Rodríguez diff --git a/libevent.spec b/libevent.spec index 2c2de45..97f633b 100644 --- a/libevent.spec +++ b/libevent.spec @@ -112,10 +112,7 @@ signals or regular timeouts. This package holds the static libraries for libevent2. %prep -%setup -q -n %{name}-%{version}-%{version_suffix} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 -n %{name}-%{version}-%{version_suffix} %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects