SOURCES: rpm.macros - normalize rpath before processing. this fixes: /us...
Elan Ruusamäe
glen at pld-linux.org
Tue Jun 3 17:32:19 CEST 2008
On Tuesday 27 May 2008 23:36:40 Jakub Bogusz wrote:
> On Tue, May 20, 2008 at 03:04:12PM +0200, pluto wrote:
> > Author: pluto Date: Tue May 20 13:04:12 2008 GMT
> > Module: SOURCES Tag: HEAD
> > ---- Log message:
> > - normalize rpath before processing.
> > this fixes:
> > /usr/bin/gij: RPATH=/usr/lib64/../lib64:/usr/lib64/gcj-4.2.4
> > /usr/bin/jv-convert: RPATH=/usr/lib64/../lib64
> > into:
> > $ chrpath -l /usr/bin/gij
> > /usr/bin/gij: RPATH=/usr/lib64/gcj-4.3.0-9
> > $ chrpath -l /usr/bin/jv-convert
> > /usr/bin/jv-convert: no rpath or runpath tag found.
>
> That's desirable, but
>
> > @@ -449,6 +449,7 @@
> > chmod u+w "$file"; \
> > for dir in `chrpath -l "$file" | \
> > awk '/RPATH=/ { gsub(/.*RPATH=/,""); gsub(/:/," "); print $0 }'` ;
> > do \ + dir=`%{__python} -c 'import sys, os; print
> > os.path.normpath(sys.argv[1]);' $dir`
>
> this way adds python dependency in rpm-build, which we don't want.
> Path should be normalized using more common tools.
commited r1.456
--
glen
More information about the pld-devel-en
mailing list