[packages/adapter: 242/631] - PreReq -> Requires transistion that preserves bconds

glen glen at pld-linux.org
Mon Sep 12 19:54:44 CEST 2016


commit 2d274438744233d5146bc54831332aed232b1d3a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Dec 13 11:42:39 2005 +0000

    - PreReq -> Requires transistion that preserves bconds
    
    Changed files:
        adapter.awk -> 1.233

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 2a8de4b..a9e7324 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -591,7 +591,7 @@ preamble == 1 {
 	}
 
 	if (field ~ /prereq:/) {
-		$1 = "Requires:"
+		sub(/PreReq:/, "Requires:", $1);
 	}
 
 	# split (build)requires on commas
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list