Enable bytecode builds.

- Disable the tests on bytecode-only platforms.
This commit is contained in:
Richard W.M. Jones 2015-07-21 15:05:49 +01:00
parent 29cbede55e
commit 97ce7efe20

View File

@ -2,12 +2,11 @@
Name: ocaml-gettext Name: ocaml-gettext
Version: 0.3.5 Version: 0.3.5
Release: 5%{?dist} Release: 6%{?dist}
Summary: OCaml library for i18n Summary: OCaml library for i18n
License: LGPLv2+ with exceptions License: LGPLv2+ with exceptions
URL: http://forge.ocamlcore.org/projects/ocaml-gettext URL: http://forge.ocamlcore.org/projects/ocaml-gettext
ExcludeArch: sparc64 s390 s390x
Source0: https://forge.ocamlcore.org/frs/download.php/1433/%{name}-%{version}.tar.gz Source0: https://forge.ocamlcore.org/frs/download.php/1433/%{name}-%{version}.tar.gz
@ -108,11 +107,13 @@ make all
%check %check
%if %opt
%if !0%{?rhel} %if !0%{?rhel}
pushd test pushd test
../_build/bin/test ../_build/bin/test
popd popd
%endif %endif
%endif
%install %install
@ -198,6 +199,10 @@ chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
%changelog %changelog
* Tue Jul 21 2015 Richard W.M. Jones <rjones@redhat.com> - 0.3.5-6
- Enable bytecode builds.
- Disable the tests on bytecode-only platforms.
* Tue Jun 23 2015 Richard W.M. Jones <rjones@redhat.com> - 0.3.5-5 * Tue Jun 23 2015 Richard W.M. Jones <rjones@redhat.com> - 0.3.5-5
- Bump release and rebuild. - Bump release and rebuild.