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
1 changed files with 7 additions and 2 deletions

View File

@ -2,12 +2,11 @@
Name: ocaml-gettext
Version: 0.3.5
Release: 5%{?dist}
Release: 6%{?dist}
Summary: OCaml library for i18n
License: LGPLv2+ with exceptions
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
@ -108,11 +107,13 @@ make all
%check
%if %opt
%if !0%{?rhel}
pushd test
../_build/bin/test
popd
%endif
%endif
%install
@ -198,6 +199,10 @@ chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
%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
- Bump release and rebuild.