Disable gcrypt in RHEL

The libgcrypt functionality is used only by the AFP backend which is not
built on RHEL, but it is still required from meson.build, regardless of
the -Dafp=false option. Let's add the -Dgcrypt=false option to fix this.

Resolves: #1980985

(cherry picked from Fedora commit 80d15729a64c3a6435f3734e4b41de327c9a378e)
This commit is contained in:
Ondrej Holy 2021-07-12 16:29:57 +02:00
parent bb05e3a21f
commit 7fbe4f0668
1 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,7 @@
Name: gvfs
Version: 1.48.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Backends for the gio framework in GLib
License: GPLv3 and LGPLv2+ and BSD and MPLv2.0
@ -235,6 +235,7 @@ the functionality of the installed gvfs package.
%if 0%{?rhel} >= 9
-Darchive=false \
-Dafp=false \
-Dgcrypt=false \
%endif
%{nil}
%meson_build
@ -424,6 +425,9 @@ killall -USR1 gvfsd >&/dev/null || :
%{_datadir}/installed-tests
%changelog
* Tue Jul 13 2021 Ondrej Holy <oholy@redhat.com> - 1.48.1-2
- Disable gcrypt to fix build
* Wed May 05 2021 Kalev Lember <klember@redhat.com> - 1.48.1-1
- Update to 1.48.1