diff --git a/ocaml-camomile-1.0.2-add-version.patch b/ocaml-camomile-1.0.2-add-version.patch new file mode 100644 index 0000000..a79e319 --- /dev/null +++ b/ocaml-camomile-1.0.2-add-version.patch @@ -0,0 +1,9 @@ +--- Camomile-1.0.2/dune-project.orig 2022-02-03 20:07:43.598272294 +0100 ++++ Camomile-1.0.2/dune-project 2022-02-03 20:07:21.549390695 +0100 +@@ -1,5 +1,6 @@ + (lang dune 1.11) + (name camomile) ++(version 1.0.2) + + (generate_opam_files true) + (license "LGPL-2+ with OCaml linking exception") diff --git a/ocaml-camomile.spec b/ocaml-camomile.spec index 41d803b..f5d8b47 100644 --- a/ocaml-camomile.spec +++ b/ocaml-camomile.spec @@ -2,14 +2,15 @@ Name: ocaml-camomile Version: 1.0.2 -Release: 1mamba +Release: 2mamba Summary: a Unicode library for objective caml language Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://camomile.sourceforge.net/ +URL: https://github.com/yoriyuki/Camomile Source: https://github.com/yoriyuki/Camomile.git/%{version}/Camomile-%{version}.tar.bz2 +Patch0: ocaml-camomile-1.0.2-add-version.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -44,6 +45,7 @@ This package contains libraries and signature files for developing applications %prep %setup -q -n Camomile-%{version} +%patch0 -p1 %build find . -name "*.mli" -exec sed -i 's,Pervasives.in_channel,Stdlib.in_channel,g' {} + @@ -95,6 +97,9 @@ cp _build/install/default/lib/camomile/library/*.mli %{buildroot}%{_libdir}/ocam %{_datadir}/camomile/* %changelog +* Thu Feb 03 2022 Silvan Calarco 1.0.2-2mamba +- add version in dune-project to fix liquidsoap detection + * Fri Feb 19 2021 Silvan Calarco 1.0.2-1mamba - update to 1.0.2