Rebuild for OCaml 4.04.0.
- Kill further instances of -warn-error.
This commit is contained in:
parent
db9192d207
commit
885cef298a
17
virt-top-1.0.8-no-warn-error.patch
Normal file
17
virt-top-1.0.8-no-warn-error.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff -ur virt-top-1.0.8/virt-top/Makefile.in virt-top-1.0.8.new/virt-top/Makefile.in
|
||||
--- virt-top-1.0.8/virt-top/Makefile.in 2016-11-05 14:55:58.428874957 +0000
|
||||
+++ virt-top-1.0.8.new/virt-top/Makefile.in 2016-11-05 14:55:44.065886803 +0000
|
||||
@@ -64,11 +64,11 @@
|
||||
|
||||
XOBJS := $(OBJS:.cmo=.cmx)
|
||||
|
||||
-OCAMLCFLAGS := -g -warn-error A-3
|
||||
+OCAMLCFLAGS := -g
|
||||
OCAMLCLIBS := -linkpkg
|
||||
|
||||
OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
|
||||
-OCAMLOPTFLAGS := -warn-error A-3
|
||||
+OCAMLOPTFLAGS :=
|
||||
OCAMLOPTLIBS := $(OCAMLCLIBS)
|
||||
|
||||
BYTE_TARGETS := virt-top
|
@ -3,10 +3,10 @@
|
||||
|
||||
Name: virt-top
|
||||
Version: 1.0.8
|
||||
Release: 18%{?dist}
|
||||
Release: 19%{?dist}
|
||||
Summary: Utility like top(1) for displaying virtualization stats
|
||||
|
||||
License: GPLv2+
|
||||
|
||||
URL: http://people.redhat.com/~rjones/virt-top/
|
||||
Source0: http://people.redhat.com/~rjones/virt-top/files/%{name}-%{version}.tar.gz
|
||||
|
||||
@ -26,6 +26,9 @@ Patch1: virt-top-aarch64.patch
|
||||
# Don't warn about immutable strings (OCaml 4.02).
|
||||
Patch2: virt-top-no-immutable-warning.patch
|
||||
|
||||
# Kill -warn-error with fire.
|
||||
Patch3: virt-top-1.0.8-no-warn-error.patch
|
||||
|
||||
BuildRequires: ocaml >= 3.10.2
|
||||
BuildRequires: ocaml-ocamldoc
|
||||
BuildRequires: ocaml-findlib-devel
|
||||
@ -75,6 +78,7 @@ different virtualization systems.
|
||||
%patch1 -p1
|
||||
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
chmod -x COPYING
|
||||
|
||||
@ -142,6 +146,10 @@ install -m 0644 processcsv.py.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Nov 05 2016 Richard W.M. Jones <rjones@redhat.com> - 1.0.8-19
|
||||
- Rebuild for OCaml 4.04.0.
|
||||
- Kill further instances of -warn-error.
|
||||
|
||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user