]> git.pld-linux.org Git - packages/ocaml-fuse.git/commitdiff
- keep the original ocaml package name auto/th/ocaml-fuse-2.7.1-2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 25 Mar 2021 06:41:38 +0000 (07:41 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 25 Mar 2021 06:41:38 +0000 (07:41 +0100)
- rel 2

keep-name.patch [new file with mode: 0644]
ocaml-fuse.spec

diff --git a/keep-name.patch b/keep-name.patch
new file mode 100644 (file)
index 0000000..e2d600d
--- /dev/null
@@ -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)
index 0a7a49a946624bc0fbc90ff90301716ba42b09db..e287d607c922128b2359f31dcbb3c161e2c28a5d 100644 (file)
@@ -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}
This page took 0.086464 seconds and 4 git commands to generate.