diff --git a/cudf-0.9-ounit2.patch b/cudf-0.9-ounit2.patch new file mode 100644 index 0000000..55494a9 --- /dev/null +++ b/cudf-0.9-ounit2.patch @@ -0,0 +1,12 @@ +diff -ur cudf-0.9.old/_tags cudf-0.9.new/_tags +--- cudf-0.9.old/_tags 2020-02-27 08:36:14.790672478 +0000 ++++ cudf-0.9.new/_tags 2020-02-27 08:48:06.475456483 +0000 +@@ -1,5 +1,5 @@ +- or : pkg_oUnit +- or : pkg_oUnit ++ or : pkg_ounit2 ++ or : pkg_ounit2 + + <*.ml> or <*.mli> : pkg_extlib, debug + <*.byte> or <*.native> : pkg_extlib, debug +Only in cudf-0.9.new: _tags~ diff --git a/ocaml-cudf.spec b/ocaml-cudf.spec index bf2e722..a4d6660 100644 --- a/ocaml-cudf.spec +++ b/ocaml-cudf.spec @@ -13,6 +13,10 @@ License: LGPLv3+ with exceptions URL: http://www.mancoosi.org/cudf/ Source0: https://gforge.inria.fr/frs/download.php/file/36602/cudf-0.9.tar.gz +# Use ounit2. +%global _default_patch_fuzz 2 +Patch1: cudf-0.9-ounit2.patch + BuildRequires: ocaml BuildRequires: ocaml-ocamlbuild BuildRequires: ocaml-ocamldoc @@ -54,7 +58,7 @@ The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep -%autosetup -n %{libname}-%{version} +%autosetup -n %{libname}-%{version} -p1 # Add debug tag. sed 's/pkg_extlib/pkg_extlib, debug/g' -i _tags