From 6b4c0cfcaeff309d0515ce66e40e8d8d3dcd25ae Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 31 May 2012 13:59:57 +0900 Subject: [PATCH] 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 3d45d0a..2ac7a80 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 86c3464..e422375 100644 --- a/xmonad.spec +++ b/xmonad.spec @@ -18,7 +18,7 @@ on several screens. Name: %{pkg_name} Version: 0.10 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A tiling window manager Group: User Interface/X @@ -176,6 +176,9 @@ rm %{buildroot}%{_docdir}/%{name}-%{version}/LICENSE %changelog +* Thu May 31 2012 Jens Petersen - 0.10-11 +- really fix xmonad-start to use hardware-platform correctly + * Tue May 29 2012 Jens Petersen - 0.10-10 - fix user binary ldd check on i686/i386 using "uname -i" not "arch", and then recompile directly instead of just touching xmonad.hs first