add version in dune-project to fix liquidsoap detection [release 1.0.2-2mamba;Thu Feb 03 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 07:50:58 +01:00
parent a2f0a46e19
commit c154b61c43
2 changed files with 16 additions and 2 deletions

View File

@ -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")

View File

@ -2,14 +2,15 @@
Name: ocaml-camomile Name: ocaml-camomile
Version: 1.0.2 Version: 1.0.2
Release: 1mamba Release: 2mamba
Summary: a Unicode library for objective caml language Summary: a Unicode library for objective caml language
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://camomile.sourceforge.net/ URL: https://github.com/yoriyuki/Camomile
Source: https://github.com/yoriyuki/Camomile.git/%{version}/Camomile-%{version}.tar.bz2 Source: https://github.com/yoriyuki/Camomile.git/%{version}/Camomile-%{version}.tar.bz2
Patch0: ocaml-camomile-1.0.2-add-version.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -44,6 +45,7 @@ This package contains libraries and signature files for developing applications
%prep %prep
%setup -q -n Camomile-%{version} %setup -q -n Camomile-%{version}
%patch0 -p1
%build %build
find . -name "*.mli" -exec sed -i 's,Pervasives.in_channel,Stdlib.in_channel,g' {} + 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/* %{_datadir}/camomile/*
%changelog %changelog
* Thu Feb 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
- add version in dune-project to fix liquidsoap detection
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba * Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2 - update to 1.0.2