.gear/ocaml-ounit.spec | 88 ++++++++++++++++++++++ .gear/rules | 3 + .../tags/183ff9aad03478b176c4b9afb4940b9a2b3523b4 | 6 ++ .gear/tags/list | 1 + ounit2.opam | 1 - src/lib/ounit2/advanced/dune | 2 +- 6 files changed, 99 insertions(+), 2 deletions(-) diff --git a/.gear/ocaml-ounit.spec b/.gear/ocaml-ounit.spec new file mode 100644 index 0000000..00b4d05 --- /dev/null +++ b/.gear/ocaml-ounit.spec @@ -0,0 +1,88 @@ +Name: ocaml-ounit +Version: 2.2.4 +Release: alt3 +Summary: Unit test framework for OCaml +Group: Development/ML +License: MIT +Url: http://ounit.forge.ocamlcore.org/ +# https://github.com/gildor478/ounit +Source: %name-%version.tar +Patch0: %name-%version-%release.patch + +BuildRequires: ocaml-findlib-devel +BuildRequires: libev-devel +BuildRequires: dune + +%description +OUnit is a unit test framework for OCaml. It allows one to easily +create unit-tests for OCaml code. It is based on HUnit, a unit testing +framework for Haskell. It is similar to JUnit, and other xUnit testing +frameworks. + +%package devel +Summary: Development files for %name +Requires: %name = %version-%release +Group: Development/ML + +%description devel +The %name-devel package contains libraries and signature files for +developing applications that use %name. + +%prep +%setup +%patch0 -p1 + +%build +%dune_build -p ounit2 + +%install +%dune_install ounit2 + +%check +%dune_check -p ounit2 + +%files -f ocaml-files.runtime +%doc LICENSE.txt + +%files devel -f ocaml-files.devel +%doc LICENSE.txt README.md CHANGES.md + +%changelog +* Tue Nov 02 2021 Anton Farygin 2.2.4-alt3 +- disabled lwt variant of the ounit2 + +* Tue Mar 30 2021 Anton Farygin 2.2.4-alt2 +- added --release option for dune in build and check sections +- simplified specfile with macros from rpm-build-ocaml 1.4 +- cleanup build requires + +* Mon Mar 15 2021 Anton Farygin 2.2.4-alt1 +- 2.2.4 + +* Thu Jul 23 2020 Anton Farygin 2.2.3-alt1 +- 2.2.3 + +* Wed Feb 12 2020 Anton Farygin 2.2.2-alt1 +- 2.2.2 +- turned on tests + +* Wed Jul 31 2019 Anton Farygin 2.0.8-alt4 +- rebuilt with ocaml-4.08 + +* Thu Oct 18 2018 Anton Farygin 2.0.8-alt3 +- rebuilt with ocaml-4.07.1 + +* Wed Sep 05 2018 Anton Farygin 2.0.8-alt2 +- rebuilt with ocaml 4.07 + +* Sat May 19 2018 Anton Farygin 2.0.8-alt1 +- 2.0.8 + +* Tue Jul 11 2017 Anton Farygin 2.0.0-alt3 +- rebuild with ocaml 4.04.2 + +* Wed May 03 2017 Anton Farygin 2.0.0-alt2 +- rebuild with ocaml 4.04.1 + +* Thu Apr 20 2017 Anton Farygin 2.0.0-alt1 +- first build for ALT, based on RH spec diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..bdfb7bb --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +tar: v@version@:. +spec: .gear/ocaml-ounit.spec +diff: v@version@:. . diff --git a/.gear/tags/183ff9aad03478b176c4b9afb4940b9a2b3523b4 b/.gear/tags/183ff9aad03478b176c4b9afb4940b9a2b3523b4 new file mode 100644 index 0000000..a17d61f --- /dev/null +++ b/.gear/tags/183ff9aad03478b176c4b9afb4940b9a2b3523b4 @@ -0,0 +1,6 @@ +object faf4936b17507406c7592186dcaa3f25c6fc138a +type commit +tag v2.2.4 +tagger Sylvain Le Gall 1608474828 +0100 + +Distribution v2.2.4 diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..b726574 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +183ff9aad03478b176c4b9afb4940b9a2b3523b4 v2.2.4 diff --git a/ounit2.opam b/ounit2.opam index d07d8ca..2ae6fe9 100644 --- a/ounit2.opam +++ b/ounit2.opam @@ -10,7 +10,6 @@ depends: [ "dune" {>= "1.11.0"} "base-bytes" "base-unix" - "stdlib-shims" ] build: [ ["dune" "build" "-p" name "-j" jobs] diff --git a/src/lib/ounit2/advanced/dune b/src/lib/ounit2/advanced/dune index df87fe1..529a7e4 100644 --- a/src/lib/ounit2/advanced/dune +++ b/src/lib/ounit2/advanced/dune @@ -7,4 +7,4 @@ (name oUnitAdvanced) (public_name ounit2.advanced) (wrapped false) - (libraries unix bytes stdlib-shims)) + (libraries unix bytes))