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 80d15729a6)
This commit is contained in:
Ondrej Holy 2021-07-12 16:29:57 +02:00
parent bb05e3a21f
commit 7fbe4f0668

View File

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