]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- avoid matching %if macro with == expression
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 5 Oct 2010 08:14:26 +0000 (08:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.472

adapter.awk

index 1068884c6b1bad6b33132da101da78f19cb6de5e..2477f5551e25855b0103cbef452253d0fc747088 100644 (file)
@@ -747,7 +747,7 @@ preamble == 1 {
                $1 = "Suggests:"
        }
 
-       if ($3 == "==") {
+       if ($3 == "==" && $1 !~ /%/) {
                $3 = "="
        }
 
This page took 0.066688 seconds and 4 git commands to generate.