Compare commits
82 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c129ff6ff | ||
|
|
1937a21fa1 | ||
|
|
e406be29aa | ||
|
|
6a27c0a53c | ||
|
|
ced748950f | ||
|
|
52a188de97 | ||
|
|
61bf93c6c6 | ||
|
|
b3d9695f86 | ||
|
|
7350e8ca77 | ||
|
|
884e9fffe7 | ||
|
|
6dbcf545e4 | ||
|
|
fdd5c47f0e | ||
|
|
5d317cde35 | ||
|
|
2df1a133c1 | ||
|
|
d47ef3a208 | ||
|
|
274382e3ab | ||
|
|
0182ee57de | ||
|
|
b755839d6f | ||
|
|
af63c868e9 | ||
|
|
984e6de7ee | ||
|
|
b03849dd26 | ||
|
|
65172ea033 | ||
|
|
2559c77a71 | ||
|
|
84a4a14f29 | ||
|
|
e33a0b778f | ||
|
|
12fc31125c | ||
|
|
7fb0cf2793 | ||
|
|
482c6aa384 | ||
|
|
ae6cbb045a | ||
|
|
bea379f685 | ||
|
|
fd2db4795c | ||
|
|
67f74114e1 | ||
|
|
df44ea55bb | ||
|
|
14f557057a | ||
|
|
e2bf930c94 | ||
|
|
f7e8923660 | ||
|
|
ce1b5085c2 | ||
|
|
a6b2b37a9d | ||
|
|
8089fb6ba2 | ||
|
|
b8ca078e1f | ||
|
|
8cd6c02130 | ||
|
|
a07882da9d | ||
|
|
5a11318e9e | ||
|
|
ff02b3e6bc | ||
|
|
80e09d6e9f | ||
|
|
b209ac2db3 | ||
|
|
6724076be3 | ||
|
|
f127a9d979 | ||
|
|
7037aa34e7 | ||
|
|
227e64d653 | ||
|
|
795fae1987 | ||
|
|
fa74c4e44f | ||
|
|
c25fb7b769 | ||
|
|
9af9b93095 | ||
|
|
82049463be | ||
|
|
f7f7f89151 | ||
|
|
0ec49dba69 | ||
|
|
19e4872bb6 | ||
|
|
31c397fa4f | ||
|
|
b3c2e5c725 | ||
|
|
6974367ce1 | ||
|
|
b7b940a2e8 | ||
|
|
b6d13f909e | ||
|
|
7aac2a478e | ||
|
|
3e7f647416 | ||
|
|
86d1b3ee28 | ||
|
|
3a785207b2 | ||
|
|
f019edd949 | ||
|
|
f48f6c78a2 | ||
|
|
fbfe6cb6bd | ||
|
|
dedaea38c3 | ||
|
|
59364a846b | ||
|
|
2dea13d3c3 | ||
|
|
a771cbebce | ||
|
|
4f5790baa3 | ||
|
|
fad75bacab | ||
|
|
4850fd1161 | ||
|
|
daf6b8f4ce | ||
|
|
4be2ab321f | ||
|
|
9de0e0f98b | ||
|
|
48e7db75b9 | ||
|
|
8844002b18 |
7 changed files with 284 additions and 297 deletions
|
|
@ -1,213 +0,0 @@
|
|||
From 7483c7454538584a3dbe4582096f058e6e877df6 Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Fri, 6 Mar 2015 15:35:46 +0000
|
||||
Subject: [PATCH] Add a binding for virDomainCreateXML.
|
||||
|
||||
This is more modern than the ancient virDomainCreateLinux API,
|
||||
and crucially allows you to pass flags such as AUTODESTROY.
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
libvirt/generator.pl | 23 +++++++++++++++++++++--
|
||||
libvirt/libvirt.ml | 19 ++++++++++++++++++-
|
||||
libvirt/libvirt.mli | 13 +++++++++++--
|
||||
libvirt/libvirt_c.c | 25 ++++++++++++++++++++++++-
|
||||
5 files changed, 75 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b7544b4..a719fb3 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,5 +1,5 @@
|
||||
# ocaml-libvirt
|
||||
-# Copyright (C) 2007-2008 Red Hat Inc., Richard W.M. Jones
|
||||
+# Copyright (C) 2007-2015 Red Hat Inc., Richard W.M. Jones
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Lesser General Public
|
||||
diff --git a/libvirt/generator.pl b/libvirt/generator.pl
|
||||
index 8229ad1..421592b 100755
|
||||
--- a/libvirt/generator.pl
|
||||
+++ b/libvirt/generator.pl
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/perl -w
|
||||
#
|
||||
# OCaml bindings for libvirt.
|
||||
-# (C) Copyright 2007-2008 Richard W.M. Jones, Red Hat Inc.
|
||||
+# (C) Copyright 2007-2015 Richard W.M. Jones, Red Hat Inc.
|
||||
# http://libvirt.org/
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
@@ -63,6 +63,7 @@ my @functions = (
|
||||
sig => "conn, int : unit" },
|
||||
|
||||
{ name => "virDomainCreateLinux", sig => "conn, string, 0U : dom" },
|
||||
+ { name => "virDomainCreateXML", sig => "conn, string, unsigned : dom" },
|
||||
{ name => "virDomainFree", sig => "dom : free" },
|
||||
{ name => "virDomainDestroy", sig => "dom : free" },
|
||||
{ name => "virDomainLookupByName", sig => "conn, string : dom" },
|
||||
@@ -198,7 +199,7 @@ print F <<'END';
|
||||
*/
|
||||
|
||||
/* OCaml bindings for libvirt.
|
||||
- * (C) Copyright 2007-2008 Richard W.M. Jones, Red Hat Inc.
|
||||
+ * (C) Copyright 2007-2015 Richard W.M. Jones, Red Hat Inc.
|
||||
* http://libvirt.org/
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@@ -310,6 +311,8 @@ sub gen_arg_names
|
||||
( "$1v", "strv" )
|
||||
} elsif ($sig =~ /^(\w+), string, 0U? : (\w+)$/) {
|
||||
( "$1v", "strv" )
|
||||
+ } elsif ($sig =~ /^(\w+), string, unsigned : (\w+)$/) {
|
||||
+ ( "$1v", "strv", "uv" )
|
||||
} elsif ($sig =~ /^(\w+), u?int : (\w+)$/) {
|
||||
( "$1v", "iv" )
|
||||
} elsif ($sig =~ /^(\w+), uuid : (\w+)$/) {
|
||||
@@ -632,6 +635,22 @@ sub gen_c_code
|
||||
|
||||
CAMLreturn (rv);
|
||||
"
|
||||
+ } elsif ($sig =~ /^(\w+), string, unsigned : (\w+)$/) {
|
||||
+ my $c_ret_type = short_name_to_c_type ($2);
|
||||
+ "\
|
||||
+ CAMLlocal1 (rv);
|
||||
+ " . gen_unpack_args ($1) . "
|
||||
+ char *str = String_val (strv);
|
||||
+ unsigned int u = Int_val (uv);
|
||||
+ $c_ret_type r;
|
||||
+
|
||||
+ NONBLOCKING (r = $c_name ($1, str, u));
|
||||
+ CHECK_ERROR (!r, conn, \"$c_name\");
|
||||
+
|
||||
+ " . gen_pack_result ($2) . "
|
||||
+
|
||||
+ CAMLreturn (rv);
|
||||
+"
|
||||
} elsif ($sig =~ /^(\w+), (u?)int : unit$/) {
|
||||
my $unsigned = $2 eq "u" ? "unsigned " : "";
|
||||
"\
|
||||
diff --git a/libvirt/libvirt.ml b/libvirt/libvirt.ml
|
||||
index 9c9368a..1be023d 100644
|
||||
--- a/libvirt/libvirt.ml
|
||||
+++ b/libvirt/libvirt.ml
|
||||
@@ -1,5 +1,5 @@
|
||||
(* OCaml bindings for libvirt.
|
||||
- (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
|
||||
+ (C) Copyright 2007-2015 Richard W.M. Jones, Red Hat Inc.
|
||||
http://libvirt.org/
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
@@ -337,6 +337,20 @@ struct
|
||||
cpu : int;
|
||||
}
|
||||
|
||||
+ type domain_create_flag =
|
||||
+ | START_PAUSED
|
||||
+ | START_AUTODESTROY
|
||||
+ | START_BYPASS_CACHE
|
||||
+ | START_FORCE_BOOT
|
||||
+ | START_VALIDATE
|
||||
+ let rec int_of_domain_create_flags = function
|
||||
+ | [] -> 0
|
||||
+ | START_PAUSED :: flags -> 1 lor int_of_domain_create_flags flags
|
||||
+ | START_AUTODESTROY :: flags -> 2 lor int_of_domain_create_flags flags
|
||||
+ | START_BYPASS_CACHE :: flags -> 4 lor int_of_domain_create_flags flags
|
||||
+ | START_FORCE_BOOT :: flags -> 8 lor int_of_domain_create_flags flags
|
||||
+ | START_VALIDATE :: flags -> 16 lor int_of_domain_create_flags flags
|
||||
+
|
||||
type sched_param = string * sched_param_value
|
||||
and sched_param_value =
|
||||
| SchedFieldInt32 of int32 | SchedFieldUInt32 of int32
|
||||
@@ -385,6 +399,9 @@ struct
|
||||
let max_peek _ = 65536
|
||||
|
||||
external create_linux : [>`W] Connect.t -> xml -> rw t = "ocaml_libvirt_domain_create_linux"
|
||||
+ external _create_xml : [>`W] Connect.t -> xml -> int -> rw t = "ocaml_libvirt_domain_create_xml"
|
||||
+ let create_xml conn xml flags =
|
||||
+ _create_xml conn xml (int_of_domain_create_flags flags)
|
||||
external lookup_by_id : 'a Connect.t -> int -> 'a t = "ocaml_libvirt_domain_lookup_by_id"
|
||||
external lookup_by_uuid : 'a Connect.t -> uuid -> 'a t = "ocaml_libvirt_domain_lookup_by_uuid"
|
||||
external lookup_by_uuid_string : 'a Connect.t -> string -> 'a t = "ocaml_libvirt_domain_lookup_by_uuid_string"
|
||||
diff --git a/libvirt/libvirt.mli b/libvirt/libvirt.mli
|
||||
index 36cd113..8cfcae2 100644
|
||||
--- a/libvirt/libvirt.mli
|
||||
+++ b/libvirt/libvirt.mli
|
||||
@@ -1,5 +1,5 @@
|
||||
(** OCaml bindings for libvirt. *)
|
||||
-(* (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
|
||||
+(* (C) Copyright 2007-2015 Richard W.M. Jones, Red Hat Inc.
|
||||
http://libvirt.org/
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
@@ -430,6 +430,13 @@ sig
|
||||
cpu : int; (** real CPU number, -1 if offline *)
|
||||
}
|
||||
|
||||
+ type domain_create_flag =
|
||||
+ | START_PAUSED (** Launch guest in paused state *)
|
||||
+ | START_AUTODESTROY (** Automatically kill guest on close *)
|
||||
+ | START_BYPASS_CACHE (** Avoid filesystem cache pollution *)
|
||||
+ | START_FORCE_BOOT (** Discard any managed save *)
|
||||
+ | START_VALIDATE (** Validate XML against schema *)
|
||||
+
|
||||
type sched_param = string * sched_param_value
|
||||
and sched_param_value =
|
||||
| SchedFieldInt32 of int32 | SchedFieldUInt32 of int32
|
||||
@@ -478,8 +485,10 @@ sig
|
||||
|
||||
val create_linux : [>`W] Connect.t -> xml -> rw t
|
||||
(** Create a new guest domain (not necessarily a Linux one)
|
||||
- from the given XML.
|
||||
+ from the given XML. Use {!create_xml} instead.
|
||||
*)
|
||||
+ val create_xml : [>`W] Connect.t -> xml -> domain_create_flag list -> rw t
|
||||
+ (** Create a new guest domain from the given XML. *)
|
||||
val lookup_by_id : 'a Connect.t -> int -> 'a t
|
||||
(** Lookup a domain by ID. *)
|
||||
val lookup_by_uuid : 'a Connect.t -> uuid -> 'a t
|
||||
diff --git a/libvirt/libvirt_c.c b/libvirt/libvirt_c.c
|
||||
index 71e6f61..6e56682 100644
|
||||
--- a/libvirt/libvirt_c.c
|
||||
+++ b/libvirt/libvirt_c.c
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
/* OCaml bindings for libvirt.
|
||||
- * (C) Copyright 2007-2008 Richard W.M. Jones, Red Hat Inc.
|
||||
+ * (C) Copyright 2007-2015 Richard W.M. Jones, Red Hat Inc.
|
||||
* http://libvirt.org/
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@@ -525,6 +525,29 @@ ocaml_libvirt_domain_create_linux (value connv, value strv)
|
||||
CAMLreturn (rv);
|
||||
}
|
||||
|
||||
+/* Automatically generated binding for virDomainCreateXML.
|
||||
+ * In generator.pl this function has signature "conn, string, unsigned : dom".
|
||||
+ */
|
||||
+
|
||||
+CAMLprim value
|
||||
+ocaml_libvirt_domain_create_xml (value connv, value strv, value uv)
|
||||
+{
|
||||
+ CAMLparam3 (connv, strv, uv);
|
||||
+
|
||||
+ CAMLlocal1 (rv);
|
||||
+ virConnectPtr conn = Connect_val (connv);
|
||||
+ char *str = String_val (strv);
|
||||
+ unsigned int u = Int_val (uv);
|
||||
+ virDomainPtr r;
|
||||
+
|
||||
+ NONBLOCKING (r = virDomainCreateXML (conn, str, u));
|
||||
+ CHECK_ERROR (!r, conn, "virDomainCreateXML");
|
||||
+
|
||||
+ rv = Val_domain (r, connv);
|
||||
+
|
||||
+ CAMLreturn (rv);
|
||||
+}
|
||||
+
|
||||
/* Automatically generated binding for virDomainFree.
|
||||
* In generator.pl this function has signature "dom : free".
|
||||
*/
|
||||
--
|
||||
2.3.1
|
||||
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
From 21ac993da0a187821e812fe7b5b31a426121a546 Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Sat, 30 Aug 2014 19:10:19 +0100
|
||||
Subject: [PATCH] Use C99 standard int64_t instead of OCaml defined (and soon
|
||||
to go) int64.
|
||||
|
||||
---
|
||||
libvirt/libvirt_c_oneoffs.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/libvirt/libvirt_c_oneoffs.c b/libvirt/libvirt_c_oneoffs.c
|
||||
index 3bb572f..06b3852 100644
|
||||
--- a/libvirt/libvirt_c_oneoffs.c
|
||||
+++ b/libvirt/libvirt_c_oneoffs.c
|
||||
@@ -140,7 +140,7 @@ ocaml_libvirt_connect_node_get_free_memory (value connv)
|
||||
NONBLOCKING (r = virNodeGetFreeMemory (conn));
|
||||
CHECK_ERROR (r == 0, conn, "virNodeGetFreeMemory");
|
||||
|
||||
- rv = caml_copy_int64 ((int64) r);
|
||||
+ rv = caml_copy_int64 ((int64_t) r);
|
||||
CAMLreturn (rv);
|
||||
}
|
||||
|
||||
@@ -161,7 +161,7 @@ ocaml_libvirt_connect_node_get_cells_free_memory (value connv,
|
||||
|
||||
rv = caml_alloc (r, 0);
|
||||
for (i = 0; i < r; ++i) {
|
||||
- iv = caml_copy_int64 ((int64) freemems[i]);
|
||||
+ iv = caml_copy_int64 ((int64_t) freemems[i]);
|
||||
Store_field (rv, i, iv);
|
||||
}
|
||||
|
||||
--
|
||||
2.0.4
|
||||
|
||||
6
gating.yaml
Executable file
6
gating.yaml
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
|
|
@ -1,29 +1,27 @@
|
|||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
Name: ocaml-libvirt
|
||||
Version: 0.6.1.4
|
||||
Release: 5%{?dist}
|
||||
Version: 0.6.1.7
|
||||
Release: 17%{?dist}
|
||||
Summary: OCaml binding for libvirt
|
||||
License: LGPLv2+
|
||||
License: LGPL-2.1-or-later
|
||||
|
||||
URL: http://libvirt.org/ocaml/
|
||||
Source0: http://libvirt.org/sources/ocaml/%{name}-%{version}.tar.gz
|
||||
|
||||
# Upstream patch to fix int types.
|
||||
Patch1: 0001-Use-C99-standard-int64_t-instead-of-OCaml-defined-an.patch
|
||||
|
||||
# Upstream patch to add virDomainCreateXML binding.
|
||||
Patch2: 0001-Add-a-binding-for-virDomainCreateXML.patch
|
||||
|
||||
ExcludeArch: sparc64 s390 s390x
|
||||
URL: https://ocaml.libvirt.org/
|
||||
Source0: https://download.libvirt.org/ocaml/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: ocaml >= 3.10.0
|
||||
BuildRequires: ocaml-ocamldoc
|
||||
BuildRequires: ocaml-findlib-devel
|
||||
BuildRequires: ocaml-rpm-macros
|
||||
|
||||
BuildRequires: libvirt-devel >= 0.2.1
|
||||
BuildRequires: perl
|
||||
BuildRequires: gawk
|
||||
BuildRequires: perl-interpreter
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
|
||||
|
||||
%description
|
||||
|
|
@ -32,7 +30,7 @@ OCaml binding for libvirt.
|
|||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%description devel
|
||||
|
|
@ -42,17 +40,21 @@ developing applications that use %{name}.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
# Fix detection of ocamlopt and ocamldoc
|
||||
# https://gitlab.com/libvirt/libvirt-ocaml/-/merge_requests/27
|
||||
sed -i '/AM_CONDITIONAL/s/"x"/"xno"/' configure.ac
|
||||
|
||||
# Regenerate the configure script
|
||||
autoreconf -fi -I m4 .
|
||||
|
||||
|
||||
%build
|
||||
# Parallel builds do not work.
|
||||
unset MAKEFLAGS
|
||||
%configure
|
||||
make all doc
|
||||
%if %opt
|
||||
make opt
|
||||
%endif
|
||||
make
|
||||
|
||||
|
||||
%install
|
||||
|
|
@ -61,37 +63,242 @@ export DESTDIR=$RPM_BUILD_ROOT
|
|||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
%if %opt
|
||||
make install-opt
|
||||
%else
|
||||
make install-byte
|
||||
%endif
|
||||
make install
|
||||
%ocaml_files
|
||||
|
||||
|
||||
%files
|
||||
%doc COPYING.LIB README ChangeLog
|
||||
%{_libdir}/ocaml/libvirt
|
||||
%if %opt
|
||||
%exclude %{_libdir}/ocaml/libvirt/*.a
|
||||
%exclude %{_libdir}/ocaml/libvirt/*.cmxa
|
||||
%exclude %{_libdir}/ocaml/libvirt/*.cmx
|
||||
%endif
|
||||
%exclude %{_libdir}/ocaml/libvirt/*.mli
|
||||
%{_libdir}/ocaml/stublibs/*.so
|
||||
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||
%files -f .ofiles
|
||||
%doc README
|
||||
%license COPYING.LIB
|
||||
|
||||
|
||||
%files devel
|
||||
%doc COPYING.LIB README TODO.libvirt ChangeLog html/*
|
||||
%if %opt
|
||||
%{_libdir}/ocaml/libvirt/*.a
|
||||
%{_libdir}/ocaml/libvirt/*.cmxa
|
||||
%{_libdir}/ocaml/libvirt/*.cmx
|
||||
%endif
|
||||
%{_libdir}/ocaml/libvirt/*.mli
|
||||
%files devel -f .ofiles-devel
|
||||
%doc README TODO.libvirt
|
||||
%license COPYING.LIB
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 13 2025 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-17
|
||||
- OCaml 5.4.0 rebuild
|
||||
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.7-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Fri Jul 11 2025 Jerry James <loganjerry@gmail.com> - 0.6.1.7-15
|
||||
- Rebuild to fix OCaml dependencies
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.7-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Jan 9 2025 Jerry James <loganjerry@gmail.com> - 0.6.1.7-13
|
||||
- OCaml 5.3.0 rebuild for Fedora 42
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.7-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-11
|
||||
- OCaml 5.2.0 ppc64le fix
|
||||
|
||||
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-10
|
||||
- OCaml 5.2.0 for Fedora 41
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.7-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.7-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-7
|
||||
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
|
||||
|
||||
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-6
|
||||
- OCaml 5.1.1 rebuild for Fedora 40
|
||||
|
||||
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-5
|
||||
- OCaml 5.1 rebuild for Fedora 40
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-3
|
||||
- OCaml 5.0 rebuild for Fedora 39
|
||||
|
||||
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 0.6.1.7-2
|
||||
- OCaml 5.0.0 rebuild
|
||||
- New project URL
|
||||
- Convert License tag to SPDX
|
||||
- Fix build on bytecode-only architectures
|
||||
- Use %%license macro
|
||||
- Use new OCaml macros
|
||||
|
||||
* Mon Feb 13 2023 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.7-1
|
||||
- New upstream version 0.6.1.7
|
||||
- Do not try parallel builds.
|
||||
- Upstream now uses automake.
|
||||
- Remove ChangeLog file and HTML docs, dropped upstream.
|
||||
|
||||
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.6-5
|
||||
- Rebuild OCaml packages for F38
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jun 18 2022 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.6-2
|
||||
- OCaml 4.14.0 rebuild
|
||||
|
||||
* Thu Apr 28 2022 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.6-1
|
||||
- New upstream version 0.6.1.6
|
||||
- Remove patches which are all upstream.
|
||||
|
||||
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-20
|
||||
- OCaml 4.13.1 rebuild to remove package notes
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.5-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Mon Oct 04 2021 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-18
|
||||
- OCaml 4.13.1 build
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.5-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Mar 1 14:31:55 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-16
|
||||
- OCaml 4.12.0 build
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.5-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-14
|
||||
- OCaml 4.11.1 rebuild
|
||||
|
||||
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-13
|
||||
- OCaml 4.11.0 rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.5-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon May 04 2020 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-11
|
||||
- OCaml 4.11.0+dev2-2020-04-22 rebuild
|
||||
|
||||
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-10
|
||||
- OCaml 4.11.0 pre-release attempt 2
|
||||
|
||||
* Fri Apr 17 2020 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-9
|
||||
- OCaml 4.11.0 pre-release
|
||||
|
||||
* Thu Apr 02 2020 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-8
|
||||
- Update all OCaml dependencies for RPM 4.16.
|
||||
|
||||
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-7
|
||||
- OCaml 4.10.0 final.
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.5-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-5
|
||||
- OCaml 4.10.0+beta1 rebuild.
|
||||
|
||||
* Thu Jan 09 2020 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-4
|
||||
- OCaml 4.09.0 for riscv64
|
||||
|
||||
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-3
|
||||
- Include upstream patch to fix build for OCaml 4.09.
|
||||
|
||||
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-2
|
||||
- OCaml 4.09.0 (final) rebuild.
|
||||
|
||||
* Wed Aug 21 2019 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.5-1
|
||||
- New upstream version 0.6.1.5.
|
||||
- Remove all patches as they are upstream.
|
||||
|
||||
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-35
|
||||
- OCaml 4.08.1 (final) rebuild.
|
||||
|
||||
* Wed Jul 31 2019 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-34
|
||||
- OCaml 4.08.1 (rc2) rebuild.
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.4-33
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jun 27 2019 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-32
|
||||
- OCaml 4.08.0 (final) rebuild.
|
||||
|
||||
* Mon Apr 29 2019 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-31
|
||||
- OCaml 4.08.0 (beta 3) rebuild.
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.4-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.4-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jul 11 2018 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-28
|
||||
- OCaml 4.07.0 (final) rebuild.
|
||||
|
||||
* Tue Jun 19 2018 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-27
|
||||
- OCaml 4.07.0-rc1 rebuild.
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.4-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Nov 08 2017 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-25
|
||||
- Fix -safe-string.
|
||||
|
||||
* Tue Nov 07 2017 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-22
|
||||
- OCaml 4.06.0 rebuild.
|
||||
|
||||
* Mon Aug 07 2017 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-21
|
||||
- OCaml 4.05.0 rebuild.
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.4-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.4-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jun 26 2017 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-18
|
||||
- OCaml 4.04.2 rebuild.
|
||||
|
||||
* Fri May 12 2017 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-17
|
||||
- Bump release and rebuild.
|
||||
|
||||
* Thu May 11 2017 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-16
|
||||
- OCaml 4.04.1 rebuild.
|
||||
|
||||
* Tue Mar 28 2017 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-15
|
||||
- Further upstream patches, adding binding for virConnectGetAllDomainStats.
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.4-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Nov 04 2016 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-13
|
||||
- Rebuild for OCaml 4.04.0.
|
||||
|
||||
* Fri Feb 05 2016 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-12
|
||||
- Add upstream patch to remove unused function.
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1.4-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2015 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-10
|
||||
- OCaml 4.02.3 rebuild.
|
||||
|
||||
* Mon Jul 27 2015 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-9
|
||||
- Remove ExcludeArch since bytecode build should now work.
|
||||
|
||||
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-8
|
||||
- Bump release and rebuild.
|
||||
- Fix bogus date in changelog.
|
||||
|
||||
* Wed Jun 17 2015 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-7
|
||||
- ocaml-4.02.2 rebuild.
|
||||
|
||||
* Tue Mar 17 2015 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-6
|
||||
- Add upstream patches to fix error handling.
|
||||
|
||||
* Fri Mar 6 2015 Richard W.M. Jones <rjones@redhat.com> - 0.6.1.4-5
|
||||
- Add binding for virDomainCreateXML.
|
||||
|
||||
|
|
@ -220,7 +427,7 @@ make install-byte
|
|||
* Wed Apr 23 2008 Richard W.M. Jones <rjones@redhat.com> - 0.4.1.1-2
|
||||
- Rebuild for OCaml 3.10.2
|
||||
|
||||
* Tue Mar 20 2008 Richard W.M. Jones <rjones@redhat.com> - 0.4.1.1-1
|
||||
* Thu Mar 20 2008 Richard W.M. Jones <rjones@redhat.com> - 0.4.1.1-1
|
||||
- New upstream release 0.4.1.1.
|
||||
- Move configure to build section.
|
||||
- Pass RPM_OPT_FLAGS.
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
92723c155c009880475f3c9a093d1fe6 ocaml-libvirt-0.6.1.4.tar.gz
|
||||
SHA512 (ocaml-libvirt-0.6.1.7.tar.gz) = ec4ebb69701b15a0c258e78f0e9eb9b1f2a75a86384392e8622ad7f4c85dfc598d51d95698835a2ea401b5647b3ad325ff820cbb7d0e524551ff07c26a54de2b
|
||||
|
|
|
|||
8
tests/basic-test.sh
Executable file
8
tests/basic-test.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash -
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# Compile trivial libvirt program.
|
||||
echo 'print_endline Libvirt_version.version' > virttest.ml
|
||||
ocamlfind ocamlopt -package libvirt virttest.ml -linkpkg -o virttest
|
||||
./virttest
|
||||
14
tests/tests.yml
Executable file
14
tests/tests.yml
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- ocaml
|
||||
- ocaml-findlib
|
||||
- ocaml-libvirt-devel
|
||||
- libvirt-devel
|
||||
tests:
|
||||
- simple:
|
||||
dir: .
|
||||
run: ./basic-test.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue