%ghc_fix_dynamic_rpath define lowercase RPATH

This commit is contained in:
Jens Petersen 2017-03-16 13:14:51 +09:00
parent 836ded9751
commit 195cbddf39

View File

@ -198,7 +198,7 @@ for i in %*; do\
*) prog=%{buildroot}%{_bindir}/$i ;;\
esac\
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\
*$pdir*)\
newrpath=$(echo $rpath | sed -e "s@$pdir/dist/build@%{ghclibdir}/%{pkg_name}-%{version}@g")\