[packages/adapter: 449/631] - updates

glen glen at pld-linux.org
Mon Sep 12 20:12:05 CEST 2016


commit af8efb29eaf6697dea123c2e6abac323ebd13b86
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Aug 28 09:00:23 2009 +0000

    - updates
    
    Changed files:
        adapter.awk -> 1.424

 adapter.awk | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index c3bde7f..da4313e 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -751,6 +751,9 @@ preamble == 1 {
 		if (l == "GPLv2+") {
 			l = "GPL v2+"
 		}
+		if (l == "LGPLv2+") {
+			l = "LGPL v2+"
+		}
 		$0 = "License:\t" l;
 	}
 
@@ -1403,6 +1406,11 @@ function use_files_macros(	i, n, t, a, l)
 		$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 @@ function replace_requires()
 
 	# 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()
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list