[xmonad/f16] really fix xmonad-start to set binary hardware-platform correctly, refactoring!

Jens Petersen petersen at fedoraproject.org
Thu May 31 05:45:02 UTC 2012


commit 2ab4e4ecdeddfd81c75f4ba99a21039ebab88e8b
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu May 31 14:44:54 2012 +0900

    really fix xmonad-start to set binary hardware-platform correctly, refactoring!

 xmonad-start |    2 +-
 xmonad.spec  |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/xmonad-start b/xmonad-start
index e0368b2..48f922e 100644
--- a/xmonad-start
+++ b/xmonad-start
@@ -20,7 +20,7 @@ if [ ! -d $XMONAD_DIR ]; then
 else
     XMONAD_CUSTOM=$XMONAD_DIR/xmonad-$(uname -i)-linux
     if [ -r $XMONAD_DIR/xmonad.hs -a -x $XMONAD_CUSTOM ]; then
-	if ldd $XMONAD_DIR/xmonad-$(arch)-linux | grep -q "not found"; then
+	if ldd $XMONAD_CUSTOM | grep -q "not found"; then
 	    xmonad --recompile
 	fi
     fi
diff --git a/xmonad.spec b/xmonad.spec
index 3445cbe..14f3eaf 100644
--- a/xmonad.spec
+++ b/xmonad.spec
@@ -18,7 +18,7 @@ on several screens.
 
 Name:           %{pkg_name}
 Version:        0.10
-Release:        3.6%{?dist}
+Release:        3.7%{?dist}
 Summary:        A tiling window manager
 
 Group:          User Interface/X
@@ -157,6 +157,9 @@ rm %{buildroot}%{_docdir}/%{name}-%{version}/LICENSE
 
 
 %changelog
+* Thu May 31 2012 Jens Petersen <petersen at redhat.com> - 0.10-3.7
+- really fix xmonad-start to use hardware-platform correctly
+
 * Wed May 30 2012 Jens Petersen <petersen at redhat.com> - 0.10-3.6
 - fix user binary ldd check on i686/i386 using "uname -i" not "arch",
   and then recompile directly instead of just touching xmonad.hs first


More information about the scm-commits mailing list