From e91c320b4b0660193c6011f858c19e4a988608a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 25 Mar 2021 09:10:59 +0100 Subject: [PATCH] - do not restore old name, the only user wants it under new name now --- keep-name.patch | 10 ---------- no-wrapped.patch | 2 +- ocaml-fuse.spec | 8 ++------ 3 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 keep-name.patch 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} -- 2.43.0