Disable AFP backend in RHEL
This commit is contained in:
parent
d33e53a121
commit
1d34b8d539
@ -159,6 +159,7 @@ including phones and music players to applications using gvfs.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if ! (0%{?rhel} >= 9)
|
||||||
%package afp
|
%package afp
|
||||||
Summary: AFP support for gvfs
|
Summary: AFP support for gvfs
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
@ -171,6 +172,7 @@ Obsoletes: %{name} < 1.9.4-1
|
|||||||
This package provides support for reading and writing files on
|
This package provides support for reading and writing files on
|
||||||
Mac OS X and original Mac OS network shares via Apple Filing Protocol
|
Mac OS X and original Mac OS network shares via Apple Filing Protocol
|
||||||
to applications using gvfs.
|
to applications using gvfs.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%package mtp
|
%package mtp
|
||||||
@ -234,6 +236,7 @@ the functionality of the installed gvfs package.
|
|||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} >= 9
|
%if 0%{?rhel} >= 9
|
||||||
-Darchive=false \
|
-Darchive=false \
|
||||||
|
-Dafp=false \
|
||||||
%endif
|
%endif
|
||||||
%{nil}
|
%{nil}
|
||||||
%meson_build
|
%meson_build
|
||||||
@ -274,8 +277,10 @@ killall -USR1 gvfsd >&/dev/null || :
|
|||||||
%post nfs
|
%post nfs
|
||||||
killall -USR1 gvfsd >&/dev/null || :
|
killall -USR1 gvfsd >&/dev/null || :
|
||||||
%endif
|
%endif
|
||||||
|
%if ! (0%{?rhel} >= 9)
|
||||||
%post afp
|
%post afp
|
||||||
killall -USR1 gvfsd >&/dev/null || :
|
killall -USR1 gvfsd >&/dev/null || :
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -384,11 +389,13 @@ killall -USR1 gvfsd >&/dev/null || :
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if ! (0%{?rhel} >= 9)
|
||||||
%files afp
|
%files afp
|
||||||
%{_libexecdir}/gvfsd-afp
|
%{_libexecdir}/gvfsd-afp
|
||||||
%{_libexecdir}/gvfsd-afp-browse
|
%{_libexecdir}/gvfsd-afp-browse
|
||||||
%{_datadir}/gvfs/mounts/afp.mount
|
%{_datadir}/gvfs/mounts/afp.mount
|
||||||
%{_datadir}/gvfs/mounts/afp-browse.mount
|
%{_datadir}/gvfs/mounts/afp-browse.mount
|
||||||
|
%endif
|
||||||
|
|
||||||
%files mtp
|
%files mtp
|
||||||
%{_libexecdir}/gvfsd-mtp
|
%{_libexecdir}/gvfsd-mtp
|
||||||
|
Loading…
Reference in New Issue
Block a user