From 13e5a0ac7c51566c1bfc4e3f665067e021029f7b Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 13 Jul 2020 09:20:08 +0200 Subject: [PATCH] + gvfs-1.45.2-3 Disable afc backend in RHEL --- gvfs.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gvfs.spec b/gvfs.spec index 03336fc..ccfdbcb 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -23,7 +23,7 @@ Name: gvfs Version: 1.45.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Backends for the gio framework in GLib License: GPLv3 and LGPLv2+ and BSD and MPLv2.0 @@ -145,6 +145,7 @@ media players (Media Transfer Protocol) to applications using gvfs. %ifnarch s390 s390x +%if ! 0%{?rhel} %package afc Summary: AFC support for gvfs Requires: %{name}%{?_isa} = %{version}-%{release} @@ -157,6 +158,7 @@ BuildRequires: pkgconfig(libplist-2.0) >= %{libplist_version} This package provides support for reading files on mobile devices including phones and music players to applications using gvfs. %endif +%endif %package afp @@ -229,6 +231,7 @@ the functionality of the installed gvfs package. %if 0%{?rhel} -Dnfs=false \ -Dbluray=false \ + -Dafc=false \ %endif %{nil} %meson_build @@ -255,9 +258,11 @@ killall -USR1 gvfsd >&/dev/null || : %post goa killall -USR1 gvfsd >&/dev/null || : %ifnarch s390 s390x +%if ! 0%{?rhel} %post afc killall -USR1 gvfsd >&/dev/null || : %endif +%endif %post archive killall -USR1 gvfsd >&/dev/null || : @@ -362,6 +367,7 @@ killall -USR1 gvfsd >&/dev/null || : %{_userunitdir}/gvfs-gphoto2-volume-monitor.service %ifnarch s390 s390x +%if ! 0%{?rhel} %files afc %{_libexecdir}/gvfsd-afc %{_datadir}/gvfs/mounts/afc.mount @@ -370,6 +376,7 @@ killall -USR1 gvfsd >&/dev/null || : %{_datadir}/gvfs/remote-volume-monitors/afc.monitor %{_userunitdir}/gvfs-afc-volume-monitor.service %endif +%endif %files afp %{_libexecdir}/gvfsd-afp @@ -406,6 +413,10 @@ killall -USR1 gvfsd >&/dev/null || : %{_datadir}/installed-tests %changelog +* Mon Jul 13 2020 Bastien Nocera - 1.45.2-3 ++ gvfs-1.45.2-3 +- Disable afc backend in RHEL + * Wed Jun 17 2020 Bastien Nocera - 1.45.2-2 + gvfs-1.45.2-2 - Rebuild with libplist 2.2 support