From a6f0d677889d32dd92f4314fc2a9f9236db1a0a5f1a98f3ecbbb0ee0b0315d13 Mon Sep 17 00:00:00 2001 From: Raymund Will Date: Thu, 22 Feb 2024 15:10:44 +0000 Subject: [PATCH] Accepting request 1149454 from home:dimstar:rpm4.20:i Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149454 OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ipmctl?expand=0&rev=46 --- ipmctl.changes | 6 ++++++ ipmctl.spec | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ipmctl.changes b/ipmctl.changes index e1d44d7..de1127b 100644 --- a/ipmctl.changes +++ b/ipmctl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 13:47:40 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Mon Oct 31 15:55:48 UTC 2022 - Dominique Leuenberger diff --git a/ipmctl.spec b/ipmctl.spec index af75c7c..7d51ceb 100644 --- a/ipmctl.spec +++ b/ipmctl.spec @@ -89,8 +89,7 @@ Obsoletes: ixpdimm_sw-devel < 01.00.00.3000 API for development of Intel Optane persistent memory management utilities. %prep -%setup -q -n %{name}-%{version}%{vgit} -%patch1 -p1 +%autosetup -p1 -n %{name}-%{version}%{vgit} perl -pi.00 -e ' s[(CMAKE_INSTALL_)DATAROOT(DIR\})/ipmctl][${1}SYSCONF${2}];