[packages/adapter: 613/631] adapter.awk: fix %buildrequires_jdk handling

glen glen at pld-linux.org
Mon Sep 12 20:25:49 CEST 2016


commit db07d4ccf1d743eedef4126b2bd84d2a6376edf9
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/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list