Use $rtkdestdir with alternate rtkaio libs.
Fix typo.
This commit is contained in:
parent
b8e4762c60
commit
5b97b46bb3
@ -798,7 +798,7 @@ install_different()
|
|||||||
%ifarch %{rtkaioarches}
|
%ifarch %{rtkaioarches}
|
||||||
local rtkdestdir="$RPM_BUILD_ROOT/%{_lib}/rtkaio/$subdir"
|
local rtkdestdir="$RPM_BUILD_ROOT/%{_lib}/rtkaio/$subdir"
|
||||||
local librtso=`basename $RPM_BUILD_ROOT/%{_lib}/librt.so.*`
|
local librtso=`basename $RPM_BUILD_ROOT/%{_lib}/librt.so.*`
|
||||||
mkdir -p $rkdestdir
|
mkdir -p $rtkdestdir
|
||||||
librtkaioso=$(basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/)
|
librtkaioso=$(basename $RPM_BUILD_ROOT/%{_lib}/librt-*.so | sed s/librt-/librtkaio-/)
|
||||||
if cmp -s rtkaio/librtkaio.so ../build-%{target}/rtkaio/librtkaio.so; then
|
if cmp -s rtkaio/librtkaio.so ../build-%{target}/rtkaio/librtkaio.so; then
|
||||||
ln -s %{nosegneg_subdir_up}/$librtkaioso $rtkdestdir/$librtkaioso
|
ln -s %{nosegneg_subdir_up}/$librtkaioso $rtkdestdir/$librtkaioso
|
||||||
|
Loading…
Reference in New Issue
Block a user