Accepting request 967063 from devel:languages:ocaml

- Update to version 2.2.6
  support for OCaml 5.0

OBS-URL: https://build.opensuse.org/request/show/967063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-ounit?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2022-04-06 19:51:20 +00:00 committed by Git OBS Bridge
commit 9a2db1b665
5 changed files with 21 additions and 14 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">ocaml-ounit</param>
<param name="revision">faf4936b17507406c7592186dcaa3f25c6fc138a</param>
<param name="revision">77f01c482bd618eabde7c5065beae2d68db88723</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://github.com/gildor478/ounit.git</param>

View File

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

3
ocaml-ounit-2.2.6.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6fa88292c935fbdbb3e9db7c7e9ac88a20cdb374776806f4a4972a454bbf75bb
size 56936

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de
- Update to version 2.2.6
support for OCaml 5.0
-------------------------------------------------------------------
Thu Jan 21 21:21:21 UTC 2021 - ohering@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ocaml-ounit
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,18 +19,19 @@
%bcond_with ocaml_lwt
Name: ocaml-ounit
Version: 2.2.4
Version: 2.2.6
Release: 0
%{?ocaml_preserve_bytecode}
Summary: Ocaml OUnit test framework
License: MIT
Group: Development/Languages/OCaml
URL: https://opam.ocaml.org/packages/ounit
Source0: %{name}-%{version}.tar.xz
Source0: %name-%version.tar.xz
BuildRequires: ocaml
BuildRequires: ocaml-dune
BuildRequires: ocaml-rpm-macros >= 20210121
BuildRequires: ocaml-rpm-macros >= 20220222
BuildRequires: ocamlfind(bytes)
BuildRequires: ocamlfind(seq)
BuildRequires: ocamlfind(stdlib-shims)
BuildRequires: ocamlfind(str)
BuildRequires: ocamlfind(threads)
@ -47,12 +48,12 @@ framework for Haskell. It is similar to JUnit, and other xUnit testing
frameworks.
%package devel
Summary: Development files for %{name}
Summary: Development files for %name
Group: Development/Languages/OCaml
Requires: %{name} = %{version}
Requires: %name = %version
%description devel
Development files needed for application based on %{name}.
Development files needed for application based on %name.
%prep
%autosetup -p1
@ -67,15 +68,15 @@ dune_release_pkgs="${dune_release_pkgs},ounit-lwt,ounit2-lwt"
%install
%ocaml_dune_install
mkdir %{buildroot}$(ocamlc -where)/oUnit
mkdir %buildroot$(ocamlc -where)/oUnit
cp -avt "$_" src/lib/oUnit/META
%ocaml_create_file_list
%check
%ocaml_dune_test
%files -f %{name}.files
%files -f %name.files
%files devel -f %{name}.files.devel
%files devel -f %name.files.devel
%changelog