commit c26ee7ef8e1cd2ec071f1e413161ae75c66dc9e6
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Sep 5 10:49:00 2005 +0000

    - adapter for atrpms macros
    
    Changed files:
        adapter.awk -> 1.178

 adapter.awk | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 26544d5..b204f63 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -618,6 +618,11 @@ preamble == 1 {
                if ($2 ~ /_snap/)
                        _snap = $3
        }
+
+       if (field ~ /requires/) {
+               # atrpms
+               $0 = fixedsub("%{eversion}", "%{epoch}:%{version}-%{release}", 
$0);
+       }
 }
 
 # main() ;-)
================================================================

---- gitweb:

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

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

Reply via email to