[packages/adapter: 273/631] - kill %{name} macro in url and obsoletes

glen glen at pld-linux.org
Mon Sep 12 19:57:20 CEST 2016


commit 395b223d6a9f27bd901c6bd85cafded721135928
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Dec 31 12:37:03 2005 +0000

    - kill %{name} macro in url and obsoletes
    
    Changed files:
        adapter.awk -> 1.263

 adapter.awk | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 96c0e2e..a5341c5 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1268,6 +1268,8 @@ function kill_preamble_macros()
 {
 	if ($1 ~ /^URL:/ || $1 ~ /^Obsoletes:/) {
 		sub("%{mod_name}", mod_name, $2);
+		sub("%{name}", 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