From 7fdde35b05e7a5daa270761c8917fca0c92eba730f155ba4bc5ca0f68925a907 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Fri, 1 Nov 2019 22:41:58 +0000 Subject: [PATCH] - Require current dune macros OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-fileutils?expand=0&rev=32 --- ocaml-fileutils.changes | 5 +++++ ocaml-fileutils.spec | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ocaml-fileutils.changes b/ocaml-fileutils.changes index b2925ba..45060f5 100644 --- a/ocaml-fileutils.changes +++ b/ocaml-fileutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de + +- Require current dune macros + ------------------------------------------------------------------- Mon Sep 30 12:34:56 UTC 2019 - ohering@suse.de diff --git a/ocaml-fileutils.spec b/ocaml-fileutils.spec index c1e0b96..0d511ca 100644 --- a/ocaml-fileutils.spec +++ b/ocaml-fileutils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -27,8 +27,9 @@ Url: https://github.com/gildor478/ocaml-fileutils Source0: %{name}-%{version}.tar.xz BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros >= 20190930 -BuildRequires: ocamlfind(bigarray) +BuildRequires: ocaml-rpm-macros >= 20191101 +BuildRequires: ocamlfind(bytes) +BuildRequires: ocamlfind(oUnit) BuildRequires: ocamlfind(stdlib-shims) BuildRequires: ocamlfind(str) BuildRequires: ocamlfind(unix) @@ -56,6 +57,7 @@ developing applications that use %{name}. %autosetup -p1 %build +dune_release_pkgs='fileutils' %ocaml_dune_setup %ocaml_dune_build @@ -64,10 +66,9 @@ developing applications that use %{name}. %ocaml_create_file_list %check -%ocaml_dune_test || : make check failed +%ocaml_dune_test %files -f %{name}.files -%license LICENSE.txt %doc README.md %files devel -f %{name}.files.devel