[mingw-nsiswrapper: 16/20] Applied nsiswrapper-default-inst-dir.patch

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


commit 793dcd07d61682740f15dd6b95bde33ac48e51b8
Author: Ivan Romanov <drizt at land.ru>
Date:   Fri Oct 7 10:04:43 2011 +0600

    Applied nsiswrapper-default-inst-dir.patch

 mingw32-nsiswrapper.spec |    5 ++++-
 nsiswrapper.pl           |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-nsiswrapper.spec b/mingw32-nsiswrapper.spec
index cb86ab1..cc67b77 100644
--- a/mingw32-nsiswrapper.spec
+++ b/mingw32-nsiswrapper.spec
@@ -1,5 +1,5 @@
 Name:           mingw32-nsiswrapper
-Version:        7
+Version:        8
 Release:        1%{?dist}
 Summary:        Helper program for making NSIS Windows installers
 
@@ -66,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Oct  7 2011 Romanov Ivan <drizt at land.ru> - 8-1
+- Use $PgrogramFiles as default install path (RHBZ#743002)
+
 * 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).
 
diff --git a/nsiswrapper.pl b/nsiswrapper.pl
index b72bda6..f7989bd 100755
--- a/nsiswrapper.pl
+++ b/nsiswrapper.pl
@@ -315,7 +315,7 @@ sub get_options
     if (!$installdir) {
 	$_ = $name;
 	s/\W/-/g;
-	$installdir = "c:\\$_"
+	$installdir = "\$ProgramFiles\\$_"
     }
 
     # InstallDirRegKey not set?


More information about the scm-commits mailing list