[mingw-nsiswrapper: 15/20] Don't apply lowercase to Qt library names (thanks Ivan Romanov).

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 16:09:18 UTC 2012


commit 3ca7a8554e36d1ced43840d1c239688f38f7d7cf
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Sep 28 09:32:45 2011 +0100

    Don't apply lowercase to Qt library names (thanks Ivan Romanov).

 mingw32-nsiswrapper.spec |    5 ++++-
 nsiswrapper.pl           |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-nsiswrapper.spec b/mingw32-nsiswrapper.spec
index d9a813d..cb86ab1 100644
--- a/mingw32-nsiswrapper.spec
+++ b/mingw32-nsiswrapper.spec
@@ -1,5 +1,5 @@
 Name:           mingw32-nsiswrapper
-Version:        6
+Version:        7
 Release:        1%{?dist}
 Summary:        Helper program for making NSIS Windows installers
 
@@ -66,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Sep 28 2011 Richard W.M. Jones <rjones at redhat.com> - 7-1
+- Don't apply lowercase to Qt library names (thanks Ivan Romanov).
+
 * Thu May 19 2011 Richard W.M. Jones <rjones at redhat.com> - 6-1
 - Patched for new location of libgdk-pixbuf loaders (RHBZ#706219).
 
diff --git a/nsiswrapper.pl b/nsiswrapper.pl
index 3a637db..b72bda6 100755
--- a/nsiswrapper.pl
+++ b/nsiswrapper.pl
@@ -447,7 +447,10 @@ sub get_deps_for_file
                    sort -u"; # XXX quoting
 	open DEPS, "$cmd |" or die "$cmd: $!";
 	foreach (<DEPS>) {
-	    chomp; $_ = lc;
+	    chomp;
+
+	    # Don't lower-case for Qt libraries
+	    if (!m/^Qt/ ) {$_ = lc;}
 
 	    # Ignore Windows system DLL deps.
 	    next if is_windows_system_dll ($_);


More information about the scm-commits mailing list