From 280de3dba0076661e5fb3419228c13151cfd1b39 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Sun, 23 Apr 2017 00:49:12 +0200 Subject: [PATCH] add missing patch --- 04000-modularity-disable-tk.patch | 21 +++++++++++++++++++++ python2.spec | 5 ++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 04000-modularity-disable-tk.patch diff --git a/04000-modularity-disable-tk.patch b/04000-modularity-disable-tk.patch new file mode 100644 index 0000000..a90f5a1 --- /dev/null +++ b/04000-modularity-disable-tk.patch @@ -0,0 +1,21 @@ +diff -urN Python-2.7.13/Modules/Setup.dist Python-2.7.13_modul/Modules/Setup.dist +--- Python-2.7.13/Modules/Setup.dist 2017-04-21 14:57:13.767444374 +0200 ++++ Python-2.7.13_modul/Modules/Setup.dist 2017-04-21 14:56:49.658953833 +0200 +@@ -326,7 +326,7 @@ + # every system. + + # *** Always uncomment this (leave the leading underscore in!): +-_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ ++#_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \ + # *** Uncomment and edit to reflect where your Tcl/Tk libraries are: + # -L/usr/local/lib \ + # *** Uncomment and edit to reflect where your Tcl/Tk headers are: +@@ -345,7 +345,7 @@ + # *** Uncomment and edit for TOGL extension only: + # -DWITH_TOGL togl.c \ + # *** Uncomment and edit to reflect your Tcl/Tk versions: +- -ltk -ltcl \ ++# -ltk -ltcl \ + # *** Uncomment and edit to reflect where your X11 libraries are: + # -L/usr/X11R6/lib \ + # *** Or uncomment this for Solaris: diff --git a/python2.spec b/python2.spec index f4d28e8..0963321 100644 --- a/python2.spec +++ b/python2.spec @@ -110,7 +110,7 @@ Summary: An interpreted, interactive, object-oriented programming language Name: %{python} # Remember to also rebase python-docs when changing this: Version: 2.7.13 -Release: 5%{?dist} +Release: 6%{?dist} License: Python Group: Development/Languages Requires: %{python}-libs%{?_isa} = %{version}-%{release} @@ -1953,6 +1953,9 @@ rm -fr %{buildroot} # ====================================================== %changelog +* Sun Apr 23 2017 Karsten Hopp - 2.7.13-6 +- add missing patch + * Fri Apr 21 2017 Karsten Hopp - 2.7.13-5 - drop a couple of dependencies for Modularity builds