packages: adapter.awk - updates

glen glen at pld-linux.org
Fri Aug 28 11:00:29 CEST 2009


Author: glen                         Date: Fri Aug 28 09:00:29 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updates

---- Files affected:
packages:
   adapter.awk (1.423 -> 1.424) 

---- Diffs:

================================================================
Index: packages/adapter.awk
diff -u packages/adapter.awk:1.423 packages/adapter.awk:1.424
--- packages/adapter.awk:1.423	Sun Jun 28 19:03:53 2009
+++ packages/adapter.awk	Fri Aug 28 11:00:23 2009
@@ -751,6 +751,9 @@
 		if (l == "GPLv2+") {
 			l = "GPL v2+"
 		}
+		if (l == "LGPLv2+") {
+			l = "LGPL v2+"
+		}
 		$0 = "License:\t" l;
 	}
 
@@ -1403,6 +1406,11 @@
 		$0 = "%attr(755,root,root) " $0
 	}
 
+	# remove attrs from man pages
+	if (/%{_mandir}/ && /^%attr/) {
+		sub("^%attr\\(.*\\) *", "");
+	}
+
 	# /etc/sysconfig files
 	# %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/*
 	# attr not required, allow default 644 attr
@@ -1727,6 +1735,8 @@
 
 	# fedora
 	sub(/^iscsi-initiator-utils$/, "open-iscsi", $2);
+	sub(/^gnome-python2-extras$/, "python-gnome-extras", $2);
+	sub(/^gtk2$/, "gtk+2", $2);
 
 	replace_php_virtual_deps()
 }
================================================================

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



More information about the pld-cvs-commit mailing list