Another attempt to fix 564798

This commit is contained in:
Richard W.M. Jones 2010-02-16 17:15:54 +00:00
parent a70c70e4fd
commit 6195ac7372
1 changed files with 6 additions and 8 deletions

View File

@ -4,7 +4,7 @@
Name: ocaml-camlimages
Version: 3.0.2
Release: 6%{?dist}
Release: 7%{?dist}
Summary: OCaml image processing library
Group: Development/Libraries
@ -86,12 +86,10 @@ mv examples/liv/display.ml examples/liv/livdisplay.ml
%build
%configure
# Hack: unclear why this is necessary, but the file image_intf
# is not mentioned in the Makefile.
make ||:
pushd src
ocamlc -I +lablgtk2 -c image_intf.mli
popd
# Hack to fix RHBZ#564798. It's completely unclear why this fails
# in Koji when it works perfectly well for me locally.
echo image_intf.cmi: image_intf.mli >> src/.depend
echo mylazy.cmi: mylazy.mli >> examples/liv/.depend
make
@ -131,7 +129,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jan 12 2010 Richard W.M. Jones <rjones@redhat.com> - 3.0.2-6
* Wed Jan 12 2010 Richard W.M. Jones <rjones@redhat.com> - 3.0.2-7
- Fix FTBFS RHBZ#564798.
* Wed Jan 12 2010 Richard W.M. Jones <rjones@redhat.com> - 3.0.2-2