commit 0d9b01e229c20158d821c99aa8e7707d996456fc
Author: Elan Ruusamäe <[email protected]>
Date:   Fri May 8 21:36:00 2015 +0300

    adapter: isa, mpl

 adapter.awk | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index e71edef..3314483 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -830,6 +830,9 @@ preamble == 1 {
                if (l == "MPLv1.1") {
                        l = "MPL v1.1"
                }
+               if (l == "Mozilla Public License, version 2.0") {
+                       l = "MPL v2.0"
+               }
                $0 = "License:\t" l
        }
 
@@ -2168,6 +2171,11 @@ function replace_pythonegg(pkg,    cmd, line) {
 # }}}
 
 function replace_requires(field,   pkg) {
+       # strip %{?_isa}
+       if ($2 ~ /_isa/) {
+               $2 = fixedsub("%{?_isa}", "", $2);
+       }
+
        # pkg-config -> package names
        if (match($2, /pkgconfig\(([^)]+)\)/)) {
                pkg = substr($2, RSTART + 10, RLENGTH - 11)
================================================================

---- 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