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}];