[packages/ocaml-fuse] - keep the original ocaml package name - rel 2
baggins
baggins at pld-linux.org
Thu Mar 25 07:42:12 CET 2021
commit 3753bd0c3bc2cd5d41943f8373ed9d82bf3814e1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Mar 25 07:41:38 2021 +0100
- keep the original ocaml package name
- rel 2
keep-name.patch | 10 ++++++++++
ocaml-fuse.spec | 8 ++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/ocaml-fuse.spec b/ocaml-fuse.spec
index 0a7a49a..e287d60 100644
--- a/ocaml-fuse.spec
+++ b/ocaml-fuse.spec
@@ -7,16 +7,17 @@
%undefine with_ocaml_opt
%endif
-%define module ocamlfuse
+%define module Fuse
Summary: Fuse binding for OCaml
Summary(pl.UTF-8): Wiązania Fuse dla OCamla
Name: ocaml-fuse
Version: 2.7.1
-Release: 1
+Release: 2
License: GPL v2
Group: Libraries
Source0: https://github.com/astrada/ocamlfuse/archive/v%{version}_cvs7/ocamlfuse-%{version}-7.tar.gz
# Source0-md5: a5da871a0983b6723c6b9b735898fe34
+Patch0: keep-name.patch
URL: http://sourceforge.net/apps/mediawiki/ocamlfuse/
BuildRequires: libfuse-devel
BuildRequires: ocaml >= 3.08
@@ -65,6 +66,9 @@ tej biblioteki.
%prep
%setup -q -n ocamlfuse-2.7.1_cvs7
+%patch0 -p1
+
+%{__mv} {ocamlfuse,Fuse}.opam
%build
%{__make}
diff --git a/keep-name.patch b/keep-name.patch
new file mode 100644
index 0000000..e2d600d
--- /dev/null
+++ b/keep-name.patch
@@ -0,0 +1,10 @@
+--- ocamlfuse-2.7.1_cvs7/lib/dune.orig 2020-06-24 21:58:40.000000000 +0200
++++ ocamlfuse-2.7.1_cvs7/lib/dune 2021-03-25 07:38:05.132731437 +0100
+@@ -1,6 +1,6 @@
+ (library
+ (name fuse)
+- (public_name ocamlfuse)
++ (public_name Fuse)
+ (libraries unix threads bigarray camlidl)
+ (flags -thread)
+ (c_names Fuse_bindings_stubs Fuse_util Unix_util_stubs)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-fuse.git/commitdiff/3753bd0c3bc2cd5d41943f8373ed9d82bf3814e1
More information about the pld-cvs-commit
mailing list