]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fixed displaying "new" bconds
authortwittner <twittner@pld-linux.org>
Thu, 11 Aug 2005 18:57:44 +0000 (18:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-find-spec-bcond -> 1.9

rpm-find-spec-bcond

index 40ad15495ed80ba83e674d8bfbf32c90aa20daf3..200e1b407d3b3b68c047817b916ff24bd8ee652a 100644 (file)
@@ -28,9 +28,9 @@ bconds=`awk -F"\n" 'BEGIN { chlog=0 }
                        print substr($0, RSTART, RLENGTH)                       
                }
                /^%bcond_with/ && chlog == 0 {
-                       match($0, /bcond_with(out)?[    ]+[_a-zA-Z0-9]+/);
+                       match($0, /bcond_with(out)?[ \t]+[_a-zA-Z0-9]+/);
                                 bcond = substr($0, RSTART +5 , RLENGTH -5);
-                                gsub(/ /,"_",bcond);
+                                gsub(/[ \t]+/,"_",bcond);
                                 print bcond
                        }' $SPEC | sort -u`
 
This page took 0.038983 seconds and 4 git commands to generate.