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