Enable Python 3 plugins in RHEL newer than RHEL7 (#1523761)

This commit is contained in:
Bastien Nocera 2018-01-10 15:00:21 +01:00
parent 1d81343545
commit 69b8a3189b

View File

@ -7,7 +7,7 @@
Name: totem
Epoch: 1
Version: 3.26.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Movie player for GNOME
License: GPLv2+ with exceptions
@ -41,7 +41,7 @@ BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: itstool
BuildRequires: meson
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: pylint
%endif
BuildRequires: python3-devel
@ -181,7 +181,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Totem.de
%dir %{_libdir}/totem
%dir %{_libdir}/totem/plugins
# Python plugins
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} > 7
%{_libdir}/totem/plugins/dbus
%{_libdir}/totem/plugins/opensubtitles
%{_libdir}/totem/plugins/pythonconsole
@ -227,6 +227,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Totem.de
%{_datadir}/gir-1.0/Totem-1.0.gir
%changelog
* Wed Jan 10 2018 Bastien Nocera <bnocera@redhat.com> - 1:3.26.0-5
- Enable Python 3 plugins in RHEL newer than RHEL7 (#1523761)
* Tue Jan 09 2018 Bastien Nocera <bnocera@redhat.com> - 1:3.26.0-4
- Don't package Python plugins if Python support is disabled
(for non-Fedora builds)