[packages/adapter: 268/631] - unify sourceforge URL-s

glen glen at pld-linux.org
Mon Sep 12 19:56:55 CEST 2016


commit 523ea04f2b773875578de7bcec1f6a8695488071
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Dec 28 15:47:04 2005 +0000

    - unify sourceforge URL-s
    
    Changed files:
        adapter.awk -> 1.258

 adapter.awk | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 1358db9..66b7b6e 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1245,5 +1245,7 @@ function kill_preamble_macros()
 {
 	if ($1 ~ /^URL:/ || $1 ~ /^Obsoletes:/) {
 		sub("%{mod_name}", mod_name, $2);
+		# unify sourceforge url
+		sub("\.sf\.net/$", ".sourceforge.net/", $2);
 	}
 }
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list