+++ /dev/null
-diff -urN fuse-3.6.2.orig/util/install_helper.sh fuse-3.6.2/util/install_helper.sh
---- fuse-3.6.2.orig/util/install_helper.sh 2019-07-09 15:49:51.220446659 +0200
-+++ fuse-3.6.2/util/install_helper.sh 2019-07-09 15:50:11.386996522 +0200
-@@ -41,13 +41,3 @@
-
- install -D -m 755 "${MESON_SOURCE_ROOT}/util/init_script" \
- "${DESTDIR}/etc/init.d/fuse3"
--
--
--if test -x /usr/sbin/update-rc.d && test -z "${DESTDIR}"; then
-- /usr/sbin/update-rc.d fuse3 start 34 S . start 41 0 6 . || /bin/true
--else
-- echo "== FURTHER ACTION REQUIRED =="
-- echo "Make sure that your init system will start the ${DESTDIR}/etc/init.d/fuse3 init script"
--fi
--
--
Summary: Filesystem in Userspace
Summary(pl.UTF-8): System plików w przestrzeni użytkownika
Name: libfuse3
-Version: 3.11.0
+Version: 3.12.0
Release: 1
License: LGPL v2 (library), GPL v2 (tools)
Group: Applications/System
#Source0Download: https://github.com/libfuse/libfuse/releases
Source0: https://github.com/libfuse/libfuse/releases/download/fuse-%{version}/fuse-%{version}.tar.xz
-# Source0-md5: c9987e2c366655e2d3d9e1f7aaba3c0d
-Patch0: %{name}-build.patch
+# Source0-md5: 2640cd55b3c2a2eb9e78054f77f5c87a
URL: https://github.com/libfuse/libfuse
BuildRequires: meson >= 0.42
BuildRequires: ninja >= 1.5
%prep
%setup -q -n fuse-%{version}
-%patch0 -p1
%{__sed} -i '/FUSERMOUNT_PROG/s,fusermount3,%{_bindir}/fusermount3,' lib/mount.c
PATH=$(pwd)/ld-dir:$PATH
%meson build \
+ -Dinitscriptdir= \
-Duseroot=false
%ninja_build -C build
# part of default udev rules nowdays
%{__rm} $RPM_BUILD_ROOT/lib/udev/rules.d/99-fuse3.rules
-# not needed
-%{__rm} $RPM_BUILD_ROOT/etc/init.d/fuse3
-
%clean
rm -rf $RPM_BUILD_ROOT