Author: glen                         Date: Mon Sep  5 10:49:05 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapter for atrpms macros

---- Files affected:
SPECS:
   adapter.awk (1.177 -> 1.178) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.177 SPECS/adapter.awk:1.178
--- SPECS/adapter.awk:1.177     Mon Sep  5 12:43:47 2005
+++ SPECS/adapter.awk   Mon Sep  5 12:49:00 2005
@@ -618,6 +618,11 @@
                if ($2 ~ /_snap/)
                        _snap = $3
        }
+
+       if (field ~ /requires/) {
+               # atrpms
+               $0 = fixedsub("%{eversion}", "%{epoch}:%{version}-%{release}", 
$0);
+       }
 }
 
 # main() ;-)
================================================================

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

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

Reply via email to