[packages/adapter: 130/631] - remove %{name} macro from sourceforge url, like http://cvs.pld-linux.org/SPECS/kaffeine.spec?r1=1.

glen glen at pld-linux.org
Mon Sep 12 19:45:21 CEST 2016


commit 84390a731e1e0d0f17dd53e426591d6bc3d4f153
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Feb 13 16:09:24 2005 +0000

    - remove %{name} macro from sourceforge url, like http://cvs.pld-linux.org/SPECS/kaffeine.spec?r1=1.14&r2=1.15&f=u
    
    Changed files:
        adapter.awk -> 1.125

 adapter.awk | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/adapter.awk b/adapter.awk
index 95c55a1..a247e08 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -434,6 +434,7 @@ preamble == 1 {
 
 		# sourceforge urls
 		sub("^http://dl.sourceforge.net/sourceforge/", "http://dl.sourceforge.net/", $2)
+		sub("^http://dl.sourceforge.net/%{name}/", "http://dl.sourceforge.net/"  name "/", $2)
 	}
 
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list