4e4d4a81e1
Certain versions of rpmbuild need the variable to be outside of curly braces. This addresses that issue in that situation. Change-Id: Iff7200b332b9d8e41a4d7676ca14c5a32c075beb
30 lines
604 B
RPMSpec
30 lines
604 B
RPMSpec
%define name libhsakmt
|
|
%define version 1.6.0
|
|
%define thunkroot %{getenv:THUNK_ROOT}
|
|
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: 1
|
|
Summary: Thunk libraries for AMD KFD
|
|
|
|
Group: System Environment/Libraries
|
|
License: Advanced Micro Devices Inc.
|
|
|
|
%description
|
|
This package includes the libhsakmt (Thunk) libraries
|
|
for AMD KFD
|
|
|
|
%prep
|
|
%setup -T -D -c -n %{name}
|
|
|
|
%install
|
|
cp -R %thunkroot/build/rpm/libhsakmt $RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT \! -type d | sed "s|$RPM_BUILD_ROOT||"> thunk.list
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f thunk.list
|
|
|
|
%defattr(-,root,root,-)
|