sawfish spec redefines _host



Hi

  sawfish.spec redefines _host, this is not required. As a result of
this, rpmbuild fails due to two different definitions of _host.

$ rpm --eval %{_host}
i686-pc-linux-gnu

from sawfish.spec.in
-%define _host %{_host_cpu}-redhat-linux-gnu

patch attached to remove this line, as I do not see any use for the
same.


-- 
Ritesh Khadgaray
Ph: +919970164885
Desktop LinuX N Stuff, RHCE
Software Maintenance Engineer, Pune, Red Hat
ॐ मणि पद्मे हूँ
Eat Right, Exercise, Die Anyway.

diff --git a/sawfish.spec.in b/sawfish.spec.in
index f16fa5f..805a5ae 100644
--- a/sawfish.spec.in
+++ b/sawfish.spec.in
@@ -61,8 +61,6 @@ fi
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%define _host %{_host_cpu}-redhat-linux-gnu
-
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc README NEWS FAQ TODO OPTIONS README.IMPORTANT KEYBINDINGS USERDOC COPYING COPYING.SOUNDS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]