|
|
@ -198,7 +198,7 @@ for i in %*; do\
|
|
|
|
*) prog=%{buildroot}%{_bindir}/$i ;;\
|
|
|
|
*) prog=%{buildroot}%{_bindir}/$i ;;\
|
|
|
|
esac\
|
|
|
|
esac\
|
|
|
|
if [ -x "$prog" ]; then\
|
|
|
|
if [ -x "$prog" ]; then\
|
|
|
|
RPATH=$(chrpath $prog | sed -e "s@^$prog: R.*PATH=@@")\
|
|
|
|
rpath=$(chrpath $prog | sed -e "s@^$prog: R.*PATH=@@")\
|
|
|
|
case $rpath in\
|
|
|
|
case $rpath in\
|
|
|
|
*$pdir*)\
|
|
|
|
*$pdir*)\
|
|
|
|
newrpath=$(echo $rpath | sed -e "s@$pdir/dist/build@%{ghclibdir}/%{pkg_name}-%{version}@g")\
|
|
|
|
newrpath=$(echo $rpath | sed -e "s@$pdir/dist/build@%{ghclibdir}/%{pkg_name}-%{version}@g")\
|
|
|
|