From de83fc9b7da5abbcec4adf9265f16ed4bfbbda85 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 16 Feb 2010 17:15:54 +0000 Subject: [PATCH] Another attempt to fix 564798 --- ocaml-camlimages.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/ocaml-camlimages.spec b/ocaml-camlimages.spec index 7df7720..d7e3094 100644 --- a/ocaml-camlimages.spec +++ b/ocaml-camlimages.spec @@ -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 - 3.0.2-6 +* Wed Jan 12 2010 Richard W.M. Jones - 3.0.2-7 - Fix FTBFS RHBZ#564798. * Wed Jan 12 2010 Richard W.M. Jones - 3.0.2-2