From f649c1b70b90f4cedf9151e81238de1f089a406f52bf04446b235b76c934664a Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Mon, 26 Feb 2024 16:48:20 +0000 Subject: [PATCH] Accepting request 1150597 from home:dimstar:rpm4.20:d Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1150597 OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=73 --- dmidecode.changes | 6 ++++++ dmidecode.spec | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/dmidecode.changes b/dmidecode.changes index 8f5652d..ab187bf 100644 --- a/dmidecode.changes +++ b/dmidecode.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 07:51:57 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + ------------------------------------------------------------------- Thu Apr 27 10:55:57 UTC 2023 - Jean Delvare diff --git a/dmidecode.spec b/dmidecode.spec index 325a04c..7c46386 100644 --- a/dmidecode.spec +++ b/dmidecode.spec @@ -51,10 +51,7 @@ trusted. Dmidecode does not scan your hardware, it only reports what the BIOS told it to. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%autosetup -p1 %build CFLAGS="%{optflags}" make %{?_smp_mflags}