]> git.pld-linux.org Git - packages/virt-top.git/commitdiff
rel 2; fix build master
authorMariusz Mazur <mmazur@axeos.com>
Thu, 23 Mar 2017 13:26:41 +0000 (14:26 +0100)
committerMariusz Mazur <mmazur@axeos.com>
Thu, 23 Mar 2017 13:26:41 +0000 (14:26 +0100)
makefile_fix.patch [new file with mode: 0644]
virt-top.spec

diff --git a/makefile_fix.patch b/makefile_fix.patch
new file mode 100644 (file)
index 0000000..4266165
--- /dev/null
@@ -0,0 +1,16 @@
+--- 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
index 6775d7d1d29fa3590c4672e4b44e90b46cc2633e..dc72a75963899fe5cc8473a20e5f5ca089ce307b 100644 (file)
@@ -6,15 +6,16 @@
 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
@@ -26,7 +27,7 @@ BuildRequires:        ocaml-extlib-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.
@@ -48,6 +49,7 @@ different virtualization systems.
 
 %prep
 %setup -q
+%patch0 -p1
 
 chmod -x COPYING
 
This page took 0.089178 seconds and 4 git commands to generate.