--- /dev/null
+--- virt-top-1.0.8/virt-top/Makefile.in~ 2012-03-06 12:32:12.000000000 +0100
++++ virt-top-1.0.8/virt-top/Makefile.in 2017-03-21 17:15:44.275117838 +0100
+@@ -64,11 +64,11 @@
+
+ XOBJS := $(OBJS:.cmo=.cmx)
+
+-OCAMLCFLAGS := -g -warn-error A
++OCAMLCFLAGS := -g
+ OCAMLCLIBS := -linkpkg
+
+ OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
+-OCAMLOPTFLAGS := -warn-error A
++OCAMLOPTFLAGS :=
+ OCAMLOPTLIBS := $(OCAMLCLIBS)
+
+ BYTE_TARGETS := virt-top
Summary: Utility like top(1) for displaying virtualization stats
Name: virt-top
Version: 1.0.8
-Release: 1
+Release: 2
License: GPL v2+
Group: Applications/System
Source0: http://people.redhat.com/~rjones/virt-top/files/%{name}-%{version}.tar.gz
# Source0-md5: cdb61d35e64c78720082d58f8edfb9da
+Patch0: makefile_fix.patch
URL: http://people.redhat.com/~rjones/virt-top/
BuildRequires: ocaml >= 3.10.2
BuildRequires: ocaml-findlib-devel
-BuildRequires: ocaml-ocamldoc
+BuildRequires: ocaml-ocamldoc-devel
ExcludeArch: sparc64 s390 s390x
# Need the ncurses / ncursesw (--enable-widec) fix.
BuildRequires: ocaml-calendar-devel
BuildRequires: ocaml-libvirt-devel >= 0.6.1.2-5
# Tortuous list of BRs for gettext.
BuildRequires: ocaml-fileutils-devel
-BuildRequires: ocaml-gettext-tools >= 0.3.3
+BuildRequires: ocaml-gettext-devel
# For msgfmt:
BuildRequires: gettext
# Non-OCaml BRs.
%prep
%setup -q
+%patch0 -p1
chmod -x COPYING