]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
adapter.awk: fix %buildrequires_jdk handling
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Mon, 21 Sep 2015 09:07:52 +0000 (11:07 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Mon, 21 Sep 2015 09:07:52 +0000 (11:07 +0200)
adapter.awk

index c0586ff4904b1c95aaab69fceeacb5cebb4fa3d9..175017ffc637eadd100dd1d9b3c730bec9df0720 100644 (file)
@@ -373,7 +373,7 @@ function b_makekey(a, b,    s) {
 ##########
 # %build #
 ##########
-/^%build/, (!/^%build/ && $0 ~ SECTIONS) {
+/^%build([^A-Za-z0-9_]|$)/, (!/^%build/ && $0 ~ SECTIONS) {
        preamble = 0
 
        if (did_prep == 0) {
This page took 0.031909 seconds and 4 git commands to generate.