commit 471a54648c92c353d94b13763ce1427b2c49ec3d
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Apr 5 19:03:25 2010 +0000

    - more depsolving
    - unify patch caps
    
    Changed files:
        adapter.awk -> 1.441

 adapter.awk | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index a7d624a..a3b652b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -767,6 +767,12 @@ preamble == 1 {
                if (l == "LGPLv2+") {
                        l = "LGPL v2+"
                }
+               if (l == "GPLv3") {
+                       l = "GPL v3"
+               }
+               if (l == "GPLv3+") {
+                       l = "GPL v3+"
+               }
                $0 = "License:\t" l;
        }
 
@@ -807,6 +813,9 @@ preamble == 1 {
        if (field ~ /^url:$/)
                $1 = "URL:"
 
+       if (field ~ /^patch/)
+               $1 = "Patch" substr(field, 6);
+
        if (field ~ /^description:$/)
                $1 = "\n%description\n"
 
@@ -1182,6 +1191,10 @@ function use_macros()
                        continue;
                if ($c ~ sysconfdir "/tmpwatch")
                        continue;
+               if ($c ~ sysconfdir "/acpi")
+                       continue;
+               if ($c ~ sysconfdir "/apm")
+                       continue;
                gsub(sysconfdir, "%{_sysconfdir}", $c)
        }
 
@@ -1286,6 +1299,10 @@ function use_macros()
        gsub("^gcc ", "%{__cc} ")
        gsub("^rm --interactive=never ", "%{__rm} ")
 
+       # fedora
+       gsub("%{ruby_sitearch}", "%{ruby_sitearchdir}")
+       gsub("%{python_sitearch}", "%{py_sitedir}")
+
        # mandrake specs
        gsub("^%make$", "%{__make}")
        gsub("^%make ", "%{__make} ")
@@ -1854,6 +1871,7 @@ function replace_requires() {
        # fedora
        sub(/^iscsi-initiator-utils$/, "open-iscsi", $2);
        sub(/^gnome-python2-extras$/, "python-gnome-extras", $2);
+       sub(/^gnome-python2-gtkspell$/, "python-gnome-extras-gtkspell", $2);
        sub(/^gtk2$/, "gtk+2", $2);
        sub(/^gtk2-devel$/, "gtk+2-devel", $2);
        sub(/^pygtk2-devel$/, "python-pygtk-devel", $2);
@@ -1867,6 +1885,9 @@ function replace_requires() {
        sub(/^python-imaging-tk$/, "python-PIL-tk", $2);
        sub(/^initscripts$/, "rc-scripts", $2);
        sub(/^libXft-devel$/, "xorg-lib-libXft-devel", $2);
+       sub(/^dbus-python$/, "python-dbus", $2);
+       sub(/^python-pygtk$/, "python-pygtk-gtk", $2);
+       sub(/^notify-python$/, "python-pynotify", $2);
 
        # debian
        sub(/^libgconf2-dev$/, "GConf2-devel", $2);
================================================================

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