From 8a45ecbe2f0b7734fc931470d3acb5b73c5636df5c0c8f266950d3b4042cfc3e Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 29 Feb 2024 16:17:05 +0000 Subject: [PATCH] Accepting request 1153467 from home:pgajdos:l - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN - modified patches % libev-4.15_compiler_warnings.patch (refreshed) OBS-URL: https://build.opensuse.org/request/show/1153467 OBS-URL: https://build.opensuse.org/package/show/server:http/libev?expand=0&rev=39 --- libev-4.15_compiler_warnings.patch | 8 ++++---- libev.changes | 8 ++++++++ libev.spec | 6 ++---- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/libev-4.15_compiler_warnings.patch b/libev-4.15_compiler_warnings.patch index f2e6b13..ba3e112 100644 --- a/libev-4.15_compiler_warnings.patch +++ b/libev-4.15_compiler_warnings.patch @@ -1,7 +1,7 @@ Index: ev.c =================================================================== ---- ev.c.orig -+++ ev.c +--- a/ev.c ++++ b/ev.c @@ -577,7 +577,7 @@ struct signalfd_siginfo * This value is good at least till the year 4000. */ @@ -33,8 +33,8 @@ Index: ev.c Index: ev_iouring.c =================================================================== ---- ev_iouring.c.orig -+++ ev_iouring.c +--- a/ev_iouring.c ++++ b/ev_iouring.c @@ -295,7 +295,7 @@ iouring_sqe_submit (EV_P_ struct io_urin EV_SQ_ARRAY [idx] = idx; ECB_MEMORY_FENCE_RELEASE; diff --git a/libev.changes b/libev.changes index 57a2e98..ddafa36 100644 --- a/libev.changes +++ b/libev.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 29 16:15:33 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN +- modified patches + % libev-4.15_compiler_warnings.patch (refreshed) + ------------------------------------------------------------------- Thu Oct 12 10:17:23 UTC 2023 - pgajdos@suse.com diff --git a/libev.spec b/libev.spec index f74476e..5751e60 100644 --- a/libev.spec +++ b/libev.spec @@ -1,7 +1,7 @@ # # spec file for package libev # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -81,9 +81,7 @@ This package holds the development files for libev. %if %{with signify} signify -V -p %{SOURCE3} -m %{SOURCE0} %endif -%setup -q -%patch0 -%patch1 -p1 +%autosetup -p1 %build CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused"