[mingw32-filesystem] Don't error out trying to set illegal LD.BFD variable name

Kalev Lember kalev at fedoraproject.org
Thu Mar 17 13:13:21 UTC 2011


commit 5b66efd7edd41be17b8bd7eb7d4a8a6d472e2089
Author: Kalev Lember <kalev at smartlink.ee>
Date:   Thu Mar 17 15:11:52 2011 +0200

    Don't error out trying to set illegal LD.BFD variable name

 macros.mingw32          |    2 +-
 mingw32-filesystem.spec |    7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/macros.mingw32 b/macros.mingw32
index aa75be7..f349740 100644
--- a/macros.mingw32
+++ b/macros.mingw32
@@ -76,7 +76,7 @@ package or when debugging this package.\
   unset PKG_CONFIG_PATH; \
   _PREFIX="%{_bindir}/%{_mingw32_target}-"; \
   for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`; do \
-    x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-" "A-ZX_"`; \
+    x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-." "A-ZX__"`; \
     declare -x $x="$i" ; export $x; \
   done; \
   unset _PREFIX; \
diff --git a/mingw32-filesystem.spec b/mingw32-filesystem.spec
index c420125..b5fceb7 100644
--- a/mingw32-filesystem.spec
+++ b/mingw32-filesystem.spec
@@ -1,8 +1,8 @@
 %define debug_package %{nil}
 
 Name:           mingw32-filesystem
-Version:        64
-Release:        3%{?dist}
+Version:        65
+Release:        1%{?dist}
 Summary:        MinGW base filesystem and environment
 
 Group:          Development/Libraries
@@ -168,6 +168,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Mar 17 2011 Kalev Lember <kalev at smartlink.ee> - 65-1
+- Don't error out trying to set illegal LD.BFD variable name
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 64-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the mingw mailing list