From 7fbe4f0668f353d2586ef7bbfb693541a43846a8 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Mon, 12 Jul 2021 16:29:57 +0200 Subject: [PATCH] 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) --- gvfs.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gvfs.spec b/gvfs.spec index 47d0294..78958f1 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -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 - 1.48.1-2 +- Disable gcrypt to fix build + * Wed May 05 2021 Kalev Lember - 1.48.1-1 - Update to 1.48.1