[cegui/f17] disable buildrequirement tolua++-devel on PPC(32bit), related to RHBZ#704372

Karsten Hopp karsten at fedoraproject.org
Sat Mar 17 21:16:18 UTC 2012


commit 55dd9cc8aa0321a82fad3abdcf92561fd0080331
Author: Karsten Hopp <karsten at redhat.com>
Date:   Sat Mar 17 22:16:01 2012 +0100

    disable buildrequirement tolua++-devel on PPC(32bit), related to RHBZ#704372

 cegui.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/cegui.spec b/cegui.spec
index f0b9d00..123416f 100644
--- a/cegui.spec
+++ b/cegui.spec
@@ -3,7 +3,7 @@
 
 Name:           cegui
 Version:        0.7.6
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Free library providing windowing and widgets for graphics APIs / engines
 Group:          System Environment/Libraries
 License:        MIT
@@ -26,7 +26,10 @@ BuildRequires:  pcre-devel
 BuildRequires:  pkgconfig >= 0.9.0
 BuildRequires:  SILLY-devel
 BuildRequires:  xerces-c-devel
+# PPC doesn't have tolua++, RHBZ#704372
+%ifnarch ppc
 BuildRequires:  tolua++-devel
+%endif
 BuildRequires:  tinyxml-devel
 BuildRequires:  glew-devel
 BuildRequires:  ogre-devel >= 1.7.0
@@ -168,7 +171,9 @@ mv -f doc/README.conv doc/README
 ./bootstrap
 %configure --disable-static --disable-corona --disable-samples \
            --disable-directfb-renderer \
+%ifnarch ppc
            --enable-toluacegui \
+%endif
            --with-default-xml-parser=ExpatParser \
            --with-default-image-codec=SILLYImageCodec \
            --with-pic
@@ -210,7 +215,9 @@ rm -rf %{buildroot}
 
 %files devel
 %defattr(-,root,root,-)
+%ifnarch ppc
 %{_bindir}/tolua++cegui
+%endif
 %{_libdir}/*.so
 %exclude %{_libdir}/libCEGUI*-%{version}.so
 %{_libdir}/pkgconfig/CEGUI-OPENGL.pc
@@ -258,6 +265,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Mar 17 2012 Karsten Hopp <karsten at redhat.com> 0.7.6-4
+- disable buildrequirement tolua++-devel on PPC(32bit), related to RHBZ#704372
+
 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.6-3
 - Rebuilt for c++ ABI breakage
 


More information about the scm-commits mailing list