diff --git a/gedit-plugins.spec b/gedit-plugins.spec index 25c94ef..6efece9 100644 --- a/gedit-plugins.spec +++ b/gedit-plugins.spec @@ -1,24 +1,19 @@ %if 0%{?fedora} > 12 %global with_zeitgeist 1 -%global with_python3 1 %else %global with_zeitgeist 0 -%global with_python3 0 %endif -%if %{with_python3} %global __python %{__python3} -%endif Name: gedit-plugins Version: 3.22.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Plugins for gedit License: GPLv2+ URL: https://wiki.gnome.org/Apps/Gedit Source0: https://download.gnome.org/sources/%{name}/3.22/%{name}-%{version}.tar.xz -Patch0: gedit-plugins-disable-python3.patch BuildRequires: gedit-devel BuildRequires: gnome-doc-utils @@ -27,12 +22,8 @@ BuildRequires: perl(XML::Parser) BuildRequires: gettext BuildRequires: cairo-devel BuildRequires: atk-devel -%if %{with_python3} BuildRequires: python3-devel BuildRequires: python3-gobject -%else -BuildRequires: python-devel -%endif BuildRequires: pygobject3-devel BuildRequires: intltool BuildRequires: libpeas-devel @@ -77,9 +68,7 @@ A collection of plugins for gedit. %package data Summary: Common data required by plugins Requires: gedit -%if %{with_python3} Requires: python3-gobject >= %{pygo_version} -%endif %description data Common files required by all plugins. @@ -222,9 +211,6 @@ The gedit zeitgeist plugin. %prep %setup -q -%if !%{with_python3} -%patch0 -p1 -b .disable-python3 -%endif %build %if %{with_zeitgeist} @@ -390,6 +376,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %endif %changelog +* Fri Dec 08 2017 Ray Strode - 3.22.0-5 +- Drop non-functional python2 support + * Wed Aug 02 2017 Fedora Release Engineering - 3.22.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild