]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- allow uppercase letters in bcond names
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Jan 2004 21:06:08 +0000 (21:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-find-spec-bcond -> 1.8

rpm-find-spec-bcond

index 8306b4a524381ca1365c527ca0732dd612dbc375..40ad15495ed80ba83e674d8bfbf32c90aa20daf3 100644 (file)
@@ -23,12 +23,12 @@ fi
 
 bconds=`awk -F"\n" 'BEGIN { chlog=0 }
                /^%changelog/ { chlog=1 }
-               /_with(out)?_[_a-z0-9]+/ && chlog == 0 {
-                       match($0, /_with(out)?_[_a-z0-9]+/);
+               /_with(out)?_[_a-zA-Z0-9]+/ && chlog == 0 {
+                       match($0, /_with(out)?_[_a-zA-Z0-9]+/);
                        print substr($0, RSTART, RLENGTH)                       
                }
                /^%bcond_with/ && chlog == 0 {
-                       match($0, /bcond_with(out)?[    ]+[_a-z0-9]+/);
+                       match($0, /bcond_with(out)?[    ]+[_a-zA-Z0-9]+/);
                                 bcond = substr($0, RSTART +5 , RLENGTH -5);
                                 gsub(/ /,"_",bcond);
                                 print bcond
This page took 0.036855 seconds and 4 git commands to generate.