Disable archive backend in RHEL

This commit is contained in:
Ondrej Holy 2020-08-12 15:26:43 +02:00
parent b772d72630
commit d33e53a121

View File

@ -116,6 +116,7 @@ This package provides support for reading and writing files on windows
shares (SMB) to applications using gvfs.
%if ! (0%{?rhel} >= 9)
%package archive
Summary: Archiving support for gvfs
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -125,6 +126,7 @@ BuildRequires: pkgconfig(libarchive) >= %{libarchive_version}
%description archive
This package provides support for accessing files inside Zip and Tar archives,
as well as ISO images, to applications using gvfs.
%endif
%package gphoto2
@ -229,6 +231,9 @@ the functionality of the installed gvfs package.
-Dnfs=false \
-Dbluray=false \
-Dafc=false \
%endif
%if 0%{?rhel} >= 9
-Darchive=false \
%endif
%{nil}
%meson_build
@ -261,8 +266,10 @@ killall -USR1 gvfsd >&/dev/null || :
%endif
%endif
%if ! (0%{?rhel} >= 9)
%post archive
killall -USR1 gvfsd >&/dev/null || :
%endif
%if ! 0%{?rhel}
%post nfs
killall -USR1 gvfsd >&/dev/null || :
@ -350,9 +357,11 @@ killall -USR1 gvfsd >&/dev/null || :
%{_datadir}/gvfs/mounts/smb.mount
%if ! (0%{?rhel} >= 9)
%files archive
%{_libexecdir}/gvfsd-archive
%{_datadir}/gvfs/mounts/archive.mount
%endif
%files gphoto2