]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- match versioned requires lines too
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 7 Sep 2005 18:22:47 +0000 (18:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.182

adapter.awk

index b17305839f009b3893a8fffe25161d2c210e10c0..13deb9ea2bf854564edf60fe9e6ac7308c6b81e7 100644 (file)
@@ -489,7 +489,7 @@ preamble == 1 {
        }
 
        # split (build)requires on commas
-       if (field ~ /requires:/ && $2 ~ /,/) {
+       if (field ~ /requires:/ && $0 ~ /,/) {
                l = substr($0, index($0, $2));
                n = split(l, p, / *, */);
                for (i in p) {
This page took 0.181304 seconds and 4 git commands to generate.