diff --git a/SOURCES/ocaml-libvirt-0.6.1.2-disable-bytecode-examples.patch b/SOURCES/ocaml-libvirt-0.6.1.2-disable-bytecode-examples.patch new file mode 100644 index 0000000..8fc6222 --- /dev/null +++ b/SOURCES/ocaml-libvirt-0.6.1.2-disable-bytecode-examples.patch @@ -0,0 +1,13 @@ +--- ocaml-libvirt-0.6.1.2/examples/Makefile.in.orig 2014-08-08 15:32:57.792838736 +0100 ++++ ocaml-libvirt-0.6.1.2/examples/Makefile.in 2014-08-08 15:33:33.556833763 +0100 +@@ -27,8 +27,8 @@ + export LIBRARY_PATH=../libvirt + export LD_LIBRARY_PATH=../libvirt + +-BYTE_TARGETS := list_domains node_info get_cpu_stats +-OPT_TARGETS := $(BYTE_TARGETS:%=%.opt) ++#BYTE_TARGETS := list_domains node_info get_cpu_stats ++OPT_TARGETS := list_domains.opt node_info.opt get_cpu_stats.opt + + all: $(BYTE_TARGETS) + diff --git a/SPECS/ocaml-libvirt.spec b/SPECS/ocaml-libvirt.spec index 5a66230..672f726 100644 --- a/SPECS/ocaml-libvirt.spec +++ b/SPECS/ocaml-libvirt.spec @@ -3,7 +3,7 @@ Name: ocaml-libvirt Version: 0.6.1.2 -Release: 8%{?dist} +Release: 10%{?dist} Summary: OCaml binding for libvirt Group: Development/Libraries @@ -21,6 +21,7 @@ BuildRequires: perl BuildRequires: gawk Patch1: 0001-remove-parameter-nr_pcpus-of-Libvirt.Domain.get_cpu_.patch +Patch2: ocaml-libvirt-0.6.1.2-disable-bytecode-examples.patch %description @@ -41,6 +42,7 @@ developing applications that use %{name}. %prep %setup -q %patch1 -p1 +%patch2 -p1 %build @@ -89,6 +91,10 @@ make install-byte %changelog +* Fri Aug 08 2014 Richard W.M. Jones - 0.6.1.2-10 +- Resolves: rhbz#1125629 +- Disable bytecode build of examples. + * Fri Dec 27 2013 Daniel Mach - 0.6.1.2-8 - Mass rebuild 2013-12-27 @@ -184,7 +190,7 @@ make install-byte * Wed Apr 23 2008 Richard W.M. Jones - 0.4.1.1-2 - Rebuild for OCaml 3.10.2 -* Tue Mar 20 2008 Richard W.M. Jones - 0.4.1.1-1 +* Thu Mar 20 2008 Richard W.M. Jones - 0.4.1.1-1 - New upstream release 0.4.1.1. - Move configure to build section. - Pass RPM_OPT_FLAGS.