]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- more depsolving
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 5 Apr 2010 19:03:25 +0000 (19:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- unify patch caps\7f

Changed files:
    adapter.awk -> 1.441

adapter.awk

index a7d624a381dccf90eb6b7ef259577408eaa164b5..a3b652b622628933552e043c1dc80666830bc59d 100644 (file)
@@ -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);
This page took 0.097205 seconds and 4 git commands to generate.