From 3df0eeb90acc8636728bac9765007fc16f7d67f1 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Nov 01 2022 06:18:59 +0000 Subject: Change location of pathfix.py For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed --- diff --git a/rocminfo.spec b/rocminfo.spec index 9cb9efb..8c042bd 100644 --- a/rocminfo.spec +++ b/rocminfo.spec @@ -15,7 +15,6 @@ BuildRequires: make BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: rocm-runtime-devel >= 2.0.0 -# We need python3-devel for pathfix.py BuildRequires: python3-devel # rocminfo calls lsmod to check the kernel mode driver status @@ -28,7 +27,7 @@ ROCm system info utility %prep %autosetup -n %{name}-rocm-%{version} -p1 -pathfix.py -i %{__python3} rocm_agent_enumerator +%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i %{__python3} rocm_agent_enumerator %build %cmake -DROCM_DIR=/usr