diff --git a/totem.spec b/totem.spec index 2383f37..9f3d4f6 100644 --- a/totem.spec +++ b/totem.spec @@ -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 - 1:3.26.0-5 +- Enable Python 3 plugins in RHEL newer than RHEL7 (#1523761) + * Tue Jan 09 2018 Bastien Nocera - 1:3.26.0-4 - Don't package Python plugins if Python support is disabled (for non-Fedora builds)