From 3ec84f84ef5dc72aa0519e9468968c0610957ab6 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 26 Apr 2018 18:33:06 +0100 Subject: [PATCH] Kill -warn-error. --- ocaml-labltk.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ocaml-labltk.spec b/ocaml-labltk.spec index 8f4ea17..67a5c0a 100644 --- a/ocaml-labltk.spec +++ b/ocaml-labltk.spec @@ -50,6 +50,9 @@ This package contains the development files. # Remove version control files which might get copied into documentation. find -name .gitignore -delete +# Kill -warn-error. +find -type f | xargs sed -i -e 's/-warn-error/-w/g' + %build ./configure @@ -110,6 +113,7 @@ install -m 0644 camltk/*.o $RPM_BUILD_ROOT%{_libdir}/ocaml/labltk %changelog * Thu Apr 26 2018 Richard W.M. Jones - 8.06.4-4 - OCaml 4.07.0-beta2 rebuild. +- Kill -warn-error. * Thu Feb 08 2018 Fedora Release Engineering - 8.06.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild