rpms/crystalspace/devel crystalspace.spec,1.3,1.4

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Thu May 22 10:32:22 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/crystalspace/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27228

Modified Files:
	crystalspace.spec 
Log Message:
* Mon May 19 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2-5
- Rebuild for new cegui
- Work around redhat bugzilla bug 432185 on ppc by disabling python on ppc



Index: crystalspace.spec
===================================================================
RCS file: /cvs/extras/rpms/crystalspace/devel/crystalspace.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- crystalspace.spec	22 May 2008 07:17:02 -0000	1.3
+++ crystalspace.spec	22 May 2008 10:31:43 -0000	1.4
@@ -99,8 +99,13 @@
 # we don't want any FSCK-ing custom CFLAGS (die custom build tools like jam,
 # die) so we force a debug build (and remove CS_DEBUG from the defines)
 # --disable-meta-info-embedding as it conflicts with -debuginfo generation
+# --without-python for ppc to work around rh bug 432185
 %configure --enable-shared --enable-mode=debug --disable-separate-debug-info \
-  --enable-cpu-specific-optimizations=no --disable-meta-info-embedding
+  --enable-cpu-specific-optimizations=no --disable-meta-info-embedding \
+%ifarch ppc
+  --without-python
+%endif
+
 make %{?_smp_mflags} all
 
 
@@ -117,10 +122,12 @@
 chmod +x $RPM_BUILD_ROOT%{_datadir}/%{csprefix}/build/autoconf/config.*
 chmod +x $RPM_BUILD_ROOT%{_datadir}/%{csprefix}/build/autoconf/install-sh
 chmod +x $RPM_BUILD_ROOT%{_datadir}/%{csprefix}/build/jamtemplate/autogen.template
+%ifnarch ppc
 chmod +x $RPM_BUILD_ROOT%{_datadir}/%{csprefix}/bindings/python/tutorial?.py
 chmod +x $RPM_BUILD_ROOT%{_datadir}/%{csprefix}/bindings/python/pyceguitest.py
+%endif
 rm -r $RPM_BUILD_ROOT%{_datadir}/%{csprefix}/bindings/perl5
-# put the bindings in %{_libdir} as the contain .so files
+# put the bindings in %{_libdir} as they contain .so files
 mv $RPM_BUILD_ROOT%{_datadir}/%{csprefix}/bindings \
   $RPM_BUILD_ROOT%{_libdir}/%{csprefix}
 
@@ -210,7 +217,7 @@
 %changelog
 * Mon May 19 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2-5
 - Rebuild for new cegui
-- Try to work around redhat bugzilla bug 432185, re-enable ppc
+- Work around redhat bugzilla bug 432185 on ppc by disabling python on ppc
 
 * Sun Feb 17 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2-4
 - More fixes from review (bz 432033):




More information about the fedora-extras-commits mailing list