[ocaml-gettext/f16] build with 'make all', not 'make' as that defaults to 'make test' and fails on ppc64 due to the miss

Karsten Hopp karsten at fedoraproject.org
Wed Dec 21 14:47:21 UTC 2011


commit a2dfd24d62b8e777cb45521afa7faa7663f48306
Author: Karsten Hopp <karsten at redhat.com>
Date:   Wed Dec 21 15:49:28 2011 +0100

    build with 'make all', not 'make' as that defaults to 'make test' and fails on ppc64
    due to the missing gettext-camomile

 ocaml-gettext.spec |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/ocaml-gettext.spec b/ocaml-gettext.spec
index d336255..d67686b 100644
--- a/ocaml-gettext.spec
+++ b/ocaml-gettext.spec
@@ -3,7 +3,7 @@
 
 Name:           ocaml-gettext
 Version:        0.3.3
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        OCaml library for i18n
 
 Group:          Development/Libraries
@@ -104,20 +104,15 @@ signature files for developing applications that use
 
 
 %build
-%ifnarch ppc64
-CFLAGS="$RPM_OPT_FLAGS" \
-./configure \
-  --libdir=%{_libdir} \
-  --with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets \
-  --enable-test
-%else
 CFLAGS="$RPM_OPT_FLAGS" \
 ./configure \
   --libdir=%{_libdir} \
+%ifarch ppc64
   --disable-camomile \
-  --with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets
 %endif
-make
+  --with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets \
+  --enable-test
+make all
 
 %check
 %ifnarch ppc64
@@ -222,6 +217,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Dec 21 2011 Karsten Hopp <karsten at redhat.com> 0.3.3-7
+- build with 'make all', not 'make' as that defaults to 'make test' and fails on ppc64
+  due to the missing gettext-camomile
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.3-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list