summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2021-03-25 08:10:59 (GMT)
committerJan Rękorajski2021-03-25 08:10:59 (GMT)
commite91c320b4b0660193c6011f858c19e4a988608a2 (patch)
tree17a76b91c4a2846109e62eb5bf3c4caa2c209006
parent2b7020f025de58b4e919d5d1f7f1907b4176fe88 (diff)
downloadocaml-fuse-e91c320b4b0660193c6011f858c19e4a988608a2.zip
ocaml-fuse-e91c320b4b0660193c6011f858c19e4a988608a2.tar.gz
- do not restore old name, the only user wants it under new name nowauto/th/ocaml-fuse-2.7.1-3
-rw-r--r--keep-name.patch10
-rw-r--r--no-wrapped.patch2
-rw-r--r--ocaml-fuse.spec8
3 files changed, 3 insertions, 17 deletions
diff --git a/keep-name.patch b/keep-name.patch
deleted file mode 100644
index e2d600d..0000000
--- a/keep-name.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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)
diff --git a/no-wrapped.patch b/no-wrapped.patch
index a0d0ce4..90322ac 100644
--- a/no-wrapped.patch
+++ b/no-wrapped.patch
@@ -3,7 +3,7 @@
@@ -1,6 +1,7 @@
(library
(name fuse)
- (public_name Fuse)
+ (public_name ocamlfuse)
+ (wrapped false)
(libraries unix threads bigarray camlidl)
(flags -thread)
diff --git a/ocaml-fuse.spec b/ocaml-fuse.spec
index 9079608..27e5c52 100644
--- a/ocaml-fuse.spec
+++ b/ocaml-fuse.spec
@@ -7,7 +7,7 @@
%undefine with_ocaml_opt
%endif
-%define module Fuse
+%define module ocamlfuse
Summary: Fuse binding for OCaml
Summary(pl.UTF-8): Wiązania Fuse dla OCamla
Name: ocaml-fuse
@@ -17,8 +17,7 @@ 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
-Patch1: no-wrapped.patch
+Patch0: no-wrapped.patch
URL: http://sourceforge.net/apps/mediawiki/ocamlfuse/
BuildRequires: libfuse-devel
BuildRequires: ocaml >= 3.08
@@ -68,9 +67,6 @@ tej biblioteki.
%prep
%setup -q -n ocamlfuse-2.7.1_cvs7
%patch0 -p1
-%patch1 -p1
-
-%{__mv} {ocamlfuse,Fuse}.opam
%build
%{__make}