--- /dev/null
+--- 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)
%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
%prep
%setup -q -n ocamlfuse-2.7.1_cvs7
+%patch0 -p1
+
+%{__mv} {ocamlfuse,Fuse}.opam
%build
%{__make}