%ghc_fix_dynamic_rpath define lowercase RPATH

epel9
Jens Petersen 8 years ago
parent 836ded9751
commit 195cbddf39

@ -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")\

Loading…
Cancel
Save