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}