From 68f2f2ad6dfe0213cb73971d381b0de638d06656 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Build fixes for mock. --- virt-top/mingw32-virt-top.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/virt-top/mingw32-virt-top.spec b/virt-top/mingw32-virt-top.spec index 004782d..6a8f47a 100644 --- a/virt-top/mingw32-virt-top.spec +++ b/virt-top/mingw32-virt-top.spec @@ -6,7 +6,7 @@ Name: mingw32-virt-top Version: 1.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MinGW Windows port of top(1) for virtualization stats License: GPLv2+ @@ -32,12 +32,12 @@ BuildRequires: mingw32-ocaml BuildRequires: mingw32-flexdll >= 0.11-7 #BuildRequires: ocaml-ocamldoc BuildRequires: mingw32-ocaml-findlib -BuildRequires: mingw32-ocaml-curses >= 0.1-3 +BuildRequires: mingw32-ocaml-curses >= 1.0.3-2 BuildRequires: mingw32-ocaml-extlib BuildRequires: mingw32-ocaml-xml-light BuildRequires: mingw32-ocaml-csv BuildRequires: mingw32-ocaml-calendar -BuildRequires: mingw32-ocaml-libvirt +BuildRequires: mingw32-ocaml-libvirt >= 0.4.4.2-2 # gettext support is disabled temporarily. ## Tortuous list of BRs for gettext. @@ -77,6 +77,7 @@ autoreconf %build export OCAMLFIND_CONF=%{_sysconfdir}/%{_mingw32_target}-ocamlfind.conf +export OCAMLC=%{_mingw32_target}-ocamlc %{_mingw32_configure} make opt @@ -99,5 +100,5 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Mon Nov 17 2008 Richard W.M. Jones - 1.0.3-1 +* Mon Nov 17 2008 Richard W.M. Jones - 1.0.3-2 - Initial RPM release. -- 1.8.3.1