From 921247e72f5b700815d696669385a08bc3698240f3b5a87529d6ed3b22b3ad7a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 29 Feb 2024 15:57:37 +0000 Subject: [PATCH] Accepting request 1153402 from home:pgajdos:l - Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1153402 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libaio?expand=0&rev=51 --- libaio.changes | 6 ++++++ libaio.spec | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libaio.changes b/libaio.changes index dadc8e6..8e80672 100644 --- a/libaio.changes +++ b/libaio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 15:09:20 UTC 2024 - pgajdos@suse.com + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Thu Mar 23 12:47:37 UTC 2023 - Martin Liška diff --git a/libaio.spec b/libaio.spec index e326169..0014744 100644 --- a/libaio.spec +++ b/libaio.spec @@ -1,7 +1,7 @@ # # spec file for package libaio # -# 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 @@ -62,8 +62,7 @@ with, for the Linux-native asynchronous I/O facility ("async I/O", or "aio"). %prep -%setup -q -n %{name}-%{name}-%{version} -%patch1 -p1 +%autosetup -p1 -n %{name}-%{name}-%{version} %build %define _lto_cflags %nil