build with 'make all', not 'make' as that defaults to 'make test' and fails on ppc64

due to the missing gettext-camomile
This commit is contained in:
Karsten Hopp 2011-12-21 15:49:28 +01:00
parent 0b0bffe144
commit a2dfd24d62
1 changed files with 9 additions and 10 deletions

View File

@ -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} \
%ifarch ppc64
--disable-camomile \
%endif
--with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets \
--enable-test
%else
CFLAGS="$RPM_OPT_FLAGS" \
./configure \
--libdir=%{_libdir} \
--disable-camomile \
--with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets
%endif
make
make all
%check
%ifnarch ppc64
@ -222,6 +217,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Dec 21 2011 Karsten Hopp <karsten@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@lists.fedoraproject.org> - 0.3.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild