%ghc_fix_rpath: remove leading or trailing ':'
This commit is contained in:
parent
1306c9a80d
commit
bd0af716de
@ -10,7 +10,7 @@
|
||||
#%%global without_hscolour 1
|
||||
|
||||
Name: ghc-rpm-macros
|
||||
Version: 1.8.0
|
||||
Version: 1.8.1
|
||||
Release: 1%{?dist}
|
||||
Summary: RPM macros for building Haskell packages for GHC
|
||||
|
||||
@ -162,6 +162,9 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 23 2018 Jens Petersen <petersen@redhat.com> - 1.8.1-1
|
||||
- ghc_fix_rpath: remove leading or trailing ':'
|
||||
|
||||
* Mon Jan 22 2018 Jens Petersen <petersen@redhat.com> - 1.8.0-1
|
||||
- add _ghcdynlibdir for Cabal --dynlibdir
|
||||
- dynlibs in _libdir
|
||||
|
@ -194,7 +194,7 @@ for lib in %*; do\
|
||||
*)\
|
||||
syspath="" ;;\
|
||||
esac\
|
||||
newrpath=$(echo $rpath | sed -e "s@$PWD/$lib/dist/build@${syspath}@g" -e "s/::/:/")\
|
||||
newrpath=$(echo $rpath | sed -e "s@$PWD/$lib/dist/build@${syspath}@g" -e "s/::/:/" -e "s/^://" -e "s/:$//")\
|
||||
chrpath -r $newrpath $i\
|
||||
;;\
|
||||
esac\
|
||||
|
Loading…
Reference in New Issue
Block a user