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
This commit is contained in:
Debarshi Ray 2021-08-20 18:05:39 +02:00
parent aebc22b5b5
commit a4753d726c

View File

@ -1,6 +1,6 @@
Name: libgdata
Version: 0.18.1
Release: 2%{?dist}
Release: 3%{?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,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%{_datadir}/vala/
%changelog
* Fri Aug 20 2021 Debarshi Ray <rishi@fedoraproject.org> - 0.18.1-3
- Drop the unused BuildRequires on liboauth
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild