]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - adapter.awk
- match versioned requires lines too
[packages/rpm-build-tools.git] / 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.065244 seconds and 4 git commands to generate.