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

View File

@ -3,7 +3,7 @@
Name: ocaml-gettext Name: ocaml-gettext
Version: 0.3.3 Version: 0.3.3
Release: 6%{?dist} Release: 7%{?dist}
Summary: OCaml library for i18n Summary: OCaml library for i18n
Group: Development/Libraries Group: Development/Libraries
@ -104,20 +104,15 @@ signature files for developing applications that use
%build %build
%ifnarch ppc64
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="$RPM_OPT_FLAGS" \
./configure \ ./configure \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
%ifarch ppc64
--disable-camomile \
%endif
--with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets \ --with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets \
--enable-test --enable-test
%else make all
CFLAGS="$RPM_OPT_FLAGS" \
./configure \
--libdir=%{_libdir} \
--disable-camomile \
--with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets
%endif
make
%check %check
%ifnarch ppc64 %ifnarch ppc64
@ -222,6 +217,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild