Remove patch that doesn't apply and isn't required
This commit is contained in:
parent
22fa2f4704
commit
7f3154d78b
@ -1,22 +0,0 @@
|
||||
--- gedit-3.8.1/configure.ac
|
||||
+++ gedit-3.8.1/configure.ac
|
||||
@@ -34,7 +34,7 @@ PKG_PROG_PKG_CONFIG
|
||||
# needed on osx
|
||||
AC_PROG_OBJC
|
||||
|
||||
-AM_PATH_PYTHON(3.2.3)
|
||||
+AM_PATH_PYTHON
|
||||
|
||||
# Initialize libtool
|
||||
LT_PREREQ([2.2.6])
|
||||
--- gedit-3.8.1/gedit/gedit-plugins-engine.c
|
||||
+++ gedit-3.8.1/gedit/gedit-plugins-engine.c
|
||||
@@ -66,7 +66,7 @@ gedit_plugins_engine_init (GeditPluginsE
|
||||
GEDIT_TYPE_PLUGINS_ENGINE,
|
||||
GeditPluginsEnginePrivate);
|
||||
|
||||
- peas_engine_enable_loader (PEAS_ENGINE (engine), "python3");
|
||||
+ peas_engine_enable_loader (PEAS_ENGINE (engine), "python");
|
||||
|
||||
engine->priv->plugin_settings = g_settings_new ("org.gnome.gedit.plugins");
|
||||
|
||||
@ -34,8 +34,6 @@ URL: http://projects.gnome.org/gedit/
|
||||
Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
|
||||
Requires(postun): desktop-file-utils >= %{desktop_file_utils_version}
|
||||
|
||||
Patch4: gedit-disable-python3.patch
|
||||
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
BuildRequires: gtk3-devel >= %{gtk3_version}
|
||||
@ -102,10 +100,6 @@ Install gedit-devel if you want to write plugins for gedit.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%if !%{with_python3}
|
||||
%patch4 -p1 -b .disable-python
|
||||
%endif
|
||||
|
||||
autoreconf -i -f
|
||||
intltoolize -f
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user