package: change install directory to /opt/rocm

Align with the rest of the driver stack on the new installation path
/opt/rocm/*

This mechanism for generating packages should be changed for something
nicer and more standards compliant in the future.

Change-Id: Ic31409b0d0b8f6ee4b25296d2580982a76aab564
This commit is contained in:
Andres Rodriguez
2016-04-07 18:39:35 -04:00
parent 682776d89a
commit 31861c838e
5 changed files with 37 additions and 10 deletions
+7 -1
View File
@@ -1,5 +1,5 @@
%define name libhsakmt
%define version 1.8.1
%define version 2.0.0
%define thunkroot %{getenv:OUT_DIR}
Name: %{name}
@@ -21,6 +21,12 @@ for AMD KFD
cp -R %thunkroot/build/thunk/rpm/libhsakmt $RPM_BUILD_ROOT
find $RPM_BUILD_ROOT \! -type d | sed "s|$RPM_BUILD_ROOT||"> thunk.list
%post
ldconfig
%postun
ldconfig
%clean
rm -rf $RPM_BUILD_ROOT