From aaf0a33fb82f461595ce852b22ec3958fba62051af1f63288cc638032d9d7557 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 6 Mar 2023 13:45:48 +0000 Subject: [PATCH] - Update to version 0.6.1.7 turn caml_copy_*() return blocks into root values - rebase ocaml-libvirt.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-libvirt?expand=0&rev=31 --- _service | 2 +- ocaml-libvirt-0.6.1.5.tar.xz | 3 --- ocaml-libvirt-0.6.1.7.tar.xz | 3 +++ ocaml-libvirt.changes | 7 +++++++ ocaml-libvirt.patch | 9 ++++----- ocaml-libvirt.spec | 6 +++--- 6 files changed, 18 insertions(+), 12 deletions(-) delete mode 100644 ocaml-libvirt-0.6.1.5.tar.xz create mode 100644 ocaml-libvirt-0.6.1.7.tar.xz diff --git a/_service b/_service index 6c306ed..c67c84d 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ ocaml-libvirt - 06c073b25e4c18212b6fd1be77b23431b4612caf + ce1be8712bc9f54b293374fe44d0f510873bd4b6 git disable https://github.com/libvirt/libvirt-ocaml.git diff --git a/ocaml-libvirt-0.6.1.5.tar.xz b/ocaml-libvirt-0.6.1.5.tar.xz deleted file mode 100644 index 66edc3f..0000000 --- a/ocaml-libvirt-0.6.1.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ac5217701ef13184c8ae9037bd0381a38d2cefb6560309bc8b27aae114e2fcc -size 87204 diff --git a/ocaml-libvirt-0.6.1.7.tar.xz b/ocaml-libvirt-0.6.1.7.tar.xz new file mode 100644 index 0000000..0adbca8 --- /dev/null +++ b/ocaml-libvirt-0.6.1.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ed6140d46bd5f00bb124c48ecbbcded09d20ef977b76a70e668dc32a6a3080d +size 82876 diff --git a/ocaml-libvirt.changes b/ocaml-libvirt.changes index bb477cb..cd21681 100644 --- a/ocaml-libvirt.changes +++ b/ocaml-libvirt.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 3 03:03:03 UTC 2023 - ohering@suse.de + +- Update to version 0.6.1.7 + turn caml_copy_*() return blocks into root values +- rebase ocaml-libvirt.patch + ------------------------------------------------------------------- Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de diff --git a/ocaml-libvirt.patch b/ocaml-libvirt.patch index 30c725b..e2d2e31 100644 --- a/ocaml-libvirt.patch +++ b/ocaml-libvirt.patch @@ -1,12 +1,10 @@ --- /dev/null +++ b/dune-project -@@ -0,0 +1,27 @@ +@@ -0,0 +1,25 @@ +(lang dune 1.11) + +(name libvirt) + -+(version 0.6.1.5) -+ +(generate_opam_files true) + +(license "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception") @@ -37,7 +35,7 @@ + (libraries libvirt)) --- /dev/null +++ b/libvirt/config/discover.ml -@@ -0,0 +1,16 @@ +@@ -0,0 +1,17 @@ +module C = Configurator.V1 + +let () = @@ -52,7 +50,8 @@ + | Some deps -> deps + in + -+ C.Flags.write_sexp "c_flags.sexp" conf.cflags; ++ C.C_define.gen_header_file c ~fname:"config.h" []; ++ C.Flags.write_sexp "c_flags.sexp" (conf.cflags @ [ "-I"; "." ]); + C.Flags.write_sexp "c_library_flags.sexp" conf.libs) --- /dev/null +++ b/libvirt/config/dune diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 441d8d1..03ba4c3 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -1,7 +1,7 @@ # # spec file for package ocaml-libvirt # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: ocaml-libvirt -Version: 0.6.1.5 +Version: 0.6.1.7 Release: 0 %{?ocaml_preserve_bytecode} Summary: OCaml binding for libvirt @@ -28,7 +28,7 @@ Source0: %name-%version.tar.xz Patch0: ocaml-libvirt.patch BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros >= 20220222 +BuildRequires: ocaml-rpm-macros >= 20230101 BuildRequires: perl BuildRequires: ocamlfind(dune.configurator) BuildRequires: ocamlfind(unix)