Author: glen                         Date: Sat Oct 22 12:22:31 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- capitalize URL
- macros subst without braces

---- Files affected:
SPECS:
   adapter.awk (1.203 -> 1.204) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.203 SPECS/adapter.awk:1.204
--- SPECS/adapter.awk:1.203     Wed Oct 12 22:20:03 2005
+++ SPECS/adapter.awk   Sat Oct 22 14:22:26 2005
@@ -569,6 +569,10 @@
        if (field ~ /serial:/)
                $1 = "Epoch:"
 
+       # proper caps
+       if (field ~ /url:/)
+               $1 = "URL:"
+
        # Use %{name} and %{version} in the filenames in "Source:"
        if (field ~ /^source/ || field ~ /patch/) {
                n = split($2, url, /\//)
@@ -840,6 +844,9 @@
                gsub(datadir, "%{_datadir}", $c)
        }
 
+       gsub("%_sbindir", "%{_sbindir}")
+       gsub("%_mandir", "%{_mandir}")
+       gsub("%name", "%{name}")
 
        gsub("%{prefix}/share", "%{_datadir}")
        if (prefix"/share" == datadir)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.203&r2=1.204&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to