Test looks for "oUnit" but the module is actually called "ounit2".
This commit is contained in:
parent
90cecc5f4e
commit
8126008fa8
|
@ -0,0 +1,31 @@
|
||||||
|
diff -ur markup.ml-0.8.2.old/test/dune markup.ml-0.8.2/test/dune
|
||||||
|
--- markup.ml-0.8.2.old/test/dune 2019-12-09 21:10:45.000000000 +0000
|
||||||
|
+++ markup.ml-0.8.2/test/dune 2020-02-26 18:50:33.352347296 +0000
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
(executable
|
||||||
|
(name test)
|
||||||
|
- (libraries markup oUnit test_support)
|
||||||
|
+ (libraries markup ounit2 test_support)
|
||||||
|
(flags (:standard -w +A-44-48)))
|
||||||
|
|
||||||
|
(alias
|
||||||
|
diff -ur markup.ml-0.8.2.old/test/lwt_unix/dune markup.ml-0.8.2/test/lwt_unix/dune
|
||||||
|
--- markup.ml-0.8.2.old/test/lwt_unix/dune 2019-12-09 21:10:45.000000000 +0000
|
||||||
|
+++ markup.ml-0.8.2/test/lwt_unix/dune 2020-02-26 18:50:27.299431528 +0000
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
(executable
|
||||||
|
(name test_lwt)
|
||||||
|
- (libraries lwt.unix markup-lwt.unix oUnit test_support)
|
||||||
|
+ (libraries lwt.unix markup-lwt.unix ounit2 test_support)
|
||||||
|
(flags (:standard -w +A-44)))
|
||||||
|
|
||||||
|
(alias
|
||||||
|
diff -ur markup.ml-0.8.2.old/test/support/dune markup.ml-0.8.2/test/support/dune
|
||||||
|
--- markup.ml-0.8.2.old/test/support/dune 2019-12-09 21:10:45.000000000 +0000
|
||||||
|
+++ markup.ml-0.8.2/test/support/dune 2020-02-26 18:50:48.344138661 +0000
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
(library
|
||||||
|
(name test_support)
|
||||||
|
- (libraries markup oUnit)
|
||||||
|
+ (libraries markup ounit2)
|
||||||
|
(flags (:standard -w +A-44)))
|
|
@ -13,6 +13,9 @@ License: MIT
|
||||||
URL: http://aantron.github.io/markup.ml/
|
URL: http://aantron.github.io/markup.ml/
|
||||||
Source0: https://github.com/aantron/markup.ml/archive/%{version}/%{srcname}-%{version}.tar.gz
|
Source0: https://github.com/aantron/markup.ml/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||||
|
|
||||||
|
# Test looks for "oUnit" but the module is actually called "ounit2".
|
||||||
|
Patch1: markup-0.8.2-rename-ounit.patch
|
||||||
|
|
||||||
BuildRequires: ocaml >= 4.02.0
|
BuildRequires: ocaml >= 4.02.0
|
||||||
BuildRequires: ocaml-bisect-ppx-devel
|
BuildRequires: ocaml-bisect-ppx-devel
|
||||||
BuildRequires: ocaml-dune
|
BuildRequires: ocaml-dune
|
||||||
|
@ -73,7 +76,7 @@ The %{name}-lwt-devel package contains libraries and signature files for
|
||||||
developing applications that use %{name}-lwt.
|
developing applications that use %{name}-lwt.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{srcname}.ml-%{version}
|
%autosetup -n %{srcname}.ml-%{version} -p1
|
||||||
|
|
||||||
# The uchar package is a forward compatibility package for OCaml versions prior
|
# The uchar package is a forward compatibility package for OCaml versions prior
|
||||||
# to 4.03. We have a later OCaml in Fedora; uchar is in the standard library.
|
# to 4.03. We have a later OCaml in Fedora; uchar is in the standard library.
|
||||||
|
|
Loading…
Reference in New Issue