Disable the Flickr plugin on RHEL >= 9

... and clean up the conditionals a bit.
This commit is contained in:
Debarshi Ray 2021-08-24 00:33:32 +02:00
parent 90a943fcad
commit d31b903aa1

View File

@ -6,7 +6,7 @@
Name: grilo-plugins Name: grilo-plugins
Version: 0.3.13 Version: 0.3.13
Release: 4%{?dist} Release: 5%{?dist}
Summary: Plugins for the Grilo framework Summary: Plugins for the Grilo framework
License: LGPLv2+ License: LGPLv2+
@ -43,9 +43,9 @@ BuildRequires: libgdata-devel
BuildRequires: totem-pl-parser-devel BuildRequires: totem-pl-parser-devel
BuildRequires: tracker3-devel BuildRequires: tracker3-devel
BuildRequires: json-glib-devel BuildRequires: json-glib-devel
BuildRequires: pkgconfig(oauth)
%if ! 0%{?rhel} %if ! 0%{?rhel}
BuildRequires: libdmapsharing-devel BuildRequires: libdmapsharing-devel
BuildRequires: pkgconfig(oauth)
%endif %endif
%if ! 0%{?rhel} %if ! 0%{?rhel}
@ -88,13 +88,13 @@ This package contains plugins to get information from theses sources:
%if 0%{?rhel} %if 0%{?rhel}
-Denable-dleyna=no \ -Denable-dleyna=no \
-Denable-dmap=no \ -Denable-dmap=no \
%endif -Denable-flickr=no \
%if ! 0%{?rhel} %else
-Denable-dleyna=yes \ -Denable-dleyna=yes \
-Denable-dmap=yes \ -Denable-dmap=yes \
-Denable-flickr=yes \
%endif %endif
-Denable-filesystem=yes \ -Denable-filesystem=yes \
-Denable-flickr=yes \
-Denable-freebox=yes \ -Denable-freebox=yes \
-Denable-gravatar=yes \ -Denable-gravatar=yes \
-Denable-lua-factory=yes \ -Denable-lua-factory=yes \
@ -123,6 +123,9 @@ This package contains plugins to get information from theses sources:
%{_libdir}/grilo-%{release_version}/*.so* %{_libdir}/grilo-%{release_version}/*.so*
%changelog %changelog
* Tue Aug 24 2021 Debarshi Ray <rishi@fedoraproject.org> - 0.3.13-5
- Disable the Flickr plugin on RHEL >= 9
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-4 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild