From c0aff9100ffb3f3d85d981b6a1994b5547deaeb0 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Sun, 22 Aug 2021 14:49:53 +0200 Subject: [PATCH] Drop the unused BuildRequires on liboauth The OAuth 1.0 support was made optional and disabled by default in libgdata-0.17.11 [1] because it has been deprecated in Google APIs since 2012, in favour of OAuth 2.0 or other more modern authentication/authorisation methods. Therefore, the BuildRequires on liboauth was unused. Explicitly disable the OAuth 1.0 feature in the build to drive home the point. [1] https://gitlab.gnome.org/GNOME/libgdata/-/issues/1 https://gitlab.gnome.org/GNOME/libgdata/-/merge_requests/18 Resolves: #1996380 --- libgdata.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libgdata.spec b/libgdata.spec index 827bc96..b9aa694 100644 --- a/libgdata.spec +++ b/libgdata.spec @@ -1,6 +1,6 @@ Name: libgdata Version: 0.18.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library for the GData protocol License: LGPLv2+ @@ -17,7 +17,6 @@ BuildRequires: gtk-doc BuildRequires: uhttpmock-devel %endif BuildRequires: json-glib-devel -BuildRequires: liboauth-devel BuildRequires: libsoup-devel BuildRequires: libxml2-devel BuildRequires: meson @@ -53,6 +52,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %endif -Dinstalled_tests=false \ -Dgtk_doc=true \ + -Doauth1=disabled \ %{nil} %meson_build @@ -88,6 +88,10 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{_datadir}/vala/ %changelog +* Sun Aug 22 2021 Debarshi Ray - 0.18.1-4 +- Drop the unused BuildRequires on liboauth +Resolves: #1996380 + * Mon Aug 09 2021 Mohan Boddu - 0.18.1-3 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688