Accepting request 1071158 from devel:languages:ocaml

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1071158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-libvirt?expand=0&rev=6
This commit is contained in:
2023-03-14 17:16:21 +00:00
committed by Git OBS Bridge
6 changed files with 18 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">ocaml-libvirt</param>
<param name="revision">06c073b25e4c18212b6fd1be77b23431b4612caf</param>
<param name="revision">ce1be8712bc9f54b293374fe44d0f510873bd4b6</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://github.com/libvirt/libvirt-ocaml.git</param>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ac5217701ef13184c8ae9037bd0381a38d2cefb6560309bc8b27aae114e2fcc
size 87204

BIN
ocaml-libvirt-0.6.1.7.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -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

View File

@@ -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

View File

@@ -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)