From 195cbddf39e55f51854c54f16c78e5ec91d5c740 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 16 Mar 2017 13:14:51 +0900 Subject: [PATCH] %ghc_fix_dynamic_rpath define lowercase RPATH --- macros.ghc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.ghc b/macros.ghc index 8431003..90de3c2 100644 --- a/macros.ghc +++ b/macros.ghc @@ -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")\