[packages/adapter: 309/631] - really do nothing with %bcond

glen glen at pld-linux.org
Mon Sep 12 20:00:21 CEST 2016


commit 4c1b7426b1d9001c9d8c6bdca6e5ade1b2f29e7e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Mar 24 19:30:13 2006 +0000

    - really do nothing with %bcond
    
    Changed files:
        adapter.awk -> 1.299

 adapter.awk | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index c9cbefa..1ffdda3 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -856,6 +856,11 @@ preamble == 1 {
 	}
 }
 
+/^%bcond_/ {
+	# do nothing
+	print
+	next
+}
 
 # sort BR/R!
 #
@@ -880,12 +885,6 @@ ENVIRON["SKIP_SORTBR"] != 1 && preamble == 1 && $0 ~ PREAMBLE_TAGS, $0 ~ PREAMBL
 	next;
 }
 
-/^%bcond_/ {
-	# do nothing
-	print
-	next
-}
-
 preamble == 1 {
 	if (b_idx > 0) {
 		isort(b_key, b_idx);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list