[packages/rpm-build-tools] adapter.awk: fix %buildrequires_jdk handling

jajcus jajcus at pld-linux.org
Mon Sep 21 11:10:09 CEST 2015


commit 635bbe2e201bf659595eba552b943b0ba2fe7afa
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Mon Sep 21 11:07:52 2015 +0200

    adapter.awk: fix %buildrequires_jdk handling

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index c0586ff..175017f 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -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) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/635bbe2e201bf659595eba552b943b0ba2fe7afa



More information about the pld-cvs-commit mailing list