]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- updates
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 28 Aug 2009 09:00:23 +0000 (09:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.424

adapter.awk

index c3bde7f6614f9d73579744a863ad586c272af557..da4313e31162256490cab75f84c2419ee96dea59 100644 (file)
@@ -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()
 }
This page took 0.047419 seconds and 4 git commands to generate.