]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- version 1.662: fixed chrpath mawk compatibility (| doesn't allow empty argument)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 12 May 2013 06:21:06 +0000 (08:21 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 12 May 2013 06:21:06 +0000 (08:21 +0200)
rpm-build-macros.spec
rpm.macros

index 813686dbc3902b3c325f8001bfa0af347038ebda..5cc5ab52bf5f73f3020c9dd612531c6f9df1301a 100644 (file)
@@ -1,4 +1,4 @@
-%define                rpm_macros_rev  1.661
+%define                rpm_macros_rev  1.662
 %define                find_lang_rev   1.36
 Summary:       PLD Linux RPM build macros
 Summary(pl.UTF-8):     Makra do budowania pakietów RPM dla Linuksa PLD
index 7d85bb5e3cad60706558c662d8e8455ae191209f..6ee8d6beedebe0c378f0bf2a9b1295f6da7e2616 100644 (file)
@@ -653,7 +653,7 @@ if [ -d "$RPM_BUILD_ROOT" ]; then \
                while read file; do \
                        rpath= ; \
                        chmod u+w "$file"; \
-                       for dir in $(chrpath -l "$file" | awk '/R(|UN)PATH=/ { gsub(/.*RPATH=/,""); gsub(/.*RUNPATH=/,""); gsub(/:/," "); print $0 }'); do \
+                       for dir in $(chrpath -l "$file" | awk '/(R|RUN)PATH=/ { gsub(/.*RPATH=/,""); gsub(/.*RUNPATH=/,""); gsub(/:/," "); print $0 }'); do \
                                        case $dir in \
                                        '$ORIGIN' ) \
                                                if [ "$rpath" = "" ] ; then rpath="$dir" ; \
This page took 0.049927 seconds and 4 git commands to generate.