- Require current dune macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-ounit?expand=0&rev=33
This commit is contained in:
Olaf Hering 2019-11-01 22:49:15 +00:00 committed by Git OBS Bridge
parent cf19c2b145
commit eb2468c875
2 changed files with 8 additions and 4 deletions

View File

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

View File

@ -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,7 +27,7 @@ Url: https://github.com/gildor478/ounit
Source0: %{name}-%{version}.tar.xz
BuildRequires: ocaml
BuildRequires: ocaml-dune
BuildRequires: ocaml-rpm-macros >= 20190930
BuildRequires: ocaml-rpm-macros >= 20191101
BuildRequires: ocamlfind(bytes)
BuildRequires: ocamlfind(lwt)
BuildRequires: ocamlfind(lwt.unix)
@ -54,6 +54,7 @@ Development files needed for application based on %{name}.
%autosetup -p1
%build
dune_release_pkgs='ounit-lwt,ounit,ounit2-lwt,ounit2'
%ocaml_dune_setup
%ocaml_dune_build
@ -67,10 +68,8 @@ cp -avt "$_" src/lib/oUnit/META
%ocaml_dune_test
%files -f %{name}.files
%license LICENSE.txt
%doc README.md
%files devel -f %{name}.files.devel
%changelog