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
This commit is contained in:
Debarshi Ray 2021-08-22 14:49:53 +02:00
parent 520510eeba
commit c0aff9100f

View File

@ -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 <rishi@fedoraproject.org> - 0.18.1-4
- Drop the unused BuildRequires on liboauth
Resolves: #1996380
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.18.1-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688