packages: adapter.awk - more depsolving - unify patch caps

glen glen at pld-linux.org
Mon Apr 5 21:03:30 CEST 2010


Author: glen                         Date: Mon Apr  5 19:03:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- more depsolving
- unify patch caps

---- Files affected:
packages:
   adapter.awk (1.440 -> 1.441) 

---- Diffs:

================================================================
Index: packages/adapter.awk
diff -u packages/adapter.awk:1.440 packages/adapter.awk:1.441
--- packages/adapter.awk:1.440	Sun Mar 14 21:53:48 2010
+++ packages/adapter.awk	Mon Apr  5 21:03:25 2010
@@ -767,6 +767,12 @@
 		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 @@
 	if (field ~ /^url:$/)
 		$1 = "URL:"
 
+	if (field ~ /^patch/)
+		$1 = "Patch" substr(field, 6);
+
 	if (field ~ /^description:$/)
 		$1 = "\n%description\n"
 
@@ -1182,6 +1191,10 @@
 			continue;
 		if ($c ~ sysconfdir "/tmpwatch")
 			continue;
+		if ($c ~ sysconfdir "/acpi")
+			continue;
+		if ($c ~ sysconfdir "/apm")
+			continue;
 		gsub(sysconfdir, "%{_sysconfdir}", $c)
 	}
 
@@ -1286,6 +1299,10 @@
 	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 @@
 	# 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 @@
 	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);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/adapter.awk?r1=1.440&r2=1.441&f=u



More information about the pld-cvs-commit mailing list