From 07b1862cdd39520e3301a4b431b16331dccb38ab Mon Sep 17 00:00:00 2001 From: Michael Cronenworth Date: Sat, 18 Aug 2018 12:53:43 -0500 Subject: [PATCH] Update to 3.4.0 --- .gitignore | 4 ++-- fuse-sshfs.spec | 36 +++++++++++++++++++++++++++--------- sources | 4 ++-- 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index f62af6f..bd745a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/sshfs-2.10.tar.gz -/sshfs-2.10.tar.gz.asc +/sshfs-3.4.0.tar.xz +/sshfs-3.4.0.tar.xz.asc diff --git a/fuse-sshfs.spec b/fuse-sshfs.spec index cf47798..f4b4528 100644 --- a/fuse-sshfs.spec +++ b/fuse-sshfs.spec @@ -2,22 +2,28 @@ Name: fuse-sshfs -Version: 2.10 +Version: 3.4.0 Release: 1%{?dist} Summary: FUSE-Filesystem to access remote filesystems via SSH License: GPLv2 URL: https://github.com/libfuse/sshfs -Source0: https://github.com/libfuse/sshfs/releases/download/sshfs-%{version}/sshfs-%{version}.tar.gz -Source1: https://github.com/libfuse/sshfs/releases/download/sshfs-%{version}/sshfs-%{version}.tar.gz.asc +Source0: https://github.com/libfuse/sshfs/releases/download/sshfs-%{version}/sshfs-%{version}.tar.xz +Source1: https://github.com/libfuse/sshfs/releases/download/sshfs-%{version}/sshfs-%{version}.tar.xz.asc Provides: sshfs = %{version}-%{release} -Requires: fuse >= 2.2 +Requires: fuse3 >= 3.1.0 Requires: openssh-clients BuildRequires: gcc -BuildRequires: fuse-devel >= 2.2 +BuildRequires: meson +BuildRequires: fuse3-devel >= 3.1.0 BuildRequires: glib2-devel >= 2.0 BuildRequires: openssh-clients +# for man page +BuildRequires: python3-docutils +# for tests +BuildRequires: fuse3 +BuildRequires: python3-pytest %description @@ -29,25 +35,37 @@ mounting the filesystem is as easy as logging into the server with ssh. %prep %setup -q -n sshfs-%{version} +# fix tests +sed -i "s/'fusermount/'fusermount3/g" test/util.py %build -%configure -make %{?_smp_mflags} +%meson +%meson_build %install -make install DESTDIR=%{buildroot} +%meson_install + + +%check +cd %{_vpath_builddir} +python3 -m pytest test/ %files -%doc AUTHORS +%doc AUTHORS README.rst ChangeLog.rst %license COPYING %{_bindir}/sshfs +%{_sbindir}/mount.sshfs +%{_sbindir}/mount.fuse.sshfs %{_mandir}/man1/sshfs.1.gz %changelog +* Sat Aug 18 2018 Michael Cronenworth - 3.4.0-1 +- Ver. 3.4.0 + * Wed Aug 15 2018 Michael Cronenworth - 2.10-1 - Ver. 2.10 - last 2.x release diff --git a/sources b/sources index 3269165..f13b7a3 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (sshfs-2.10.tar.gz) = 8887eb634edc4c64cf7a0c1a1be4d9ef72d5080eec687d187898dc31bb841ed730850bae8467247a05e56c2b4ef7e9d02fdc0812d48876e145c9826a7406d9ff -SHA512 (sshfs-2.10.tar.gz.asc) = 5353b1625539132a924db9e5b03334d6f987b6f6f6241ff5fb98333263dda2e0e2931a4f4a30d59e59dca5edd586e41c957af3cdc6bd4092ccb6008fb7e7951c +SHA512 (sshfs-3.4.0.tar.xz) = 7ead7168644cee5722a5252031e117215349f3adde32d35fb13bf9a8448c15c49ed9cff7eba9248e71da9c63c4cf7a3da078718890e56e0c624aec2d5f0e546b +SHA512 (sshfs-3.4.0.tar.xz.asc) = a5a71d21e1f3c229fc55757e894baeabe3f08b0597a76d575904956665efca712bb16ea3d8f117e1656f9ad1f5e79168012788a18a9d9f5020759765ebb9e057