From accaf63f7e455896595e7b78429fcbc3e0044fe3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sun, 19 Oct 2014 12:02:36 +0200 Subject: [PATCH] - drop obsolete patch --- libc-cloexec.patch | 18 ------------------ python3.spec | 4 ++-- 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 libc-cloexec.patch diff --git a/libc-cloexec.patch b/libc-cloexec.patch deleted file mode 100644 index 6175228..0000000 --- a/libc-cloexec.patch +++ /dev/null @@ -1,18 +0,0 @@ -see also -http://serverfault.com/questions/388865/building-python3-on-a-redhat-5-machine - -upstream fix: -http://hg.python.org/cpython/rev/fe1dfc066a38 - ---- Python-3.2.3/Modules/_posixsubprocess.c~ 2012-04-11 09:54:07.000000000 +0300 -+++ Python-3.2.3/Modules/_posixsubprocess.c 2012-07-26 10:58:29.616131665 +0300 -@@ -37,6 +37,9 @@ - - #define POSIX_CALL(call) if ((call) == -1) goto error - -+#ifndef O_CLOEXEC -+#define O_CLOEXEC 02000000 /* set close_on_exec */ -+#endif - - /* Maximum file descriptor, initialized on module load. */ - static long max_fd; diff --git a/python3.spec b/python3.spec index 7565615..3d32ced 100644 --- a/python3.spec +++ b/python3.spec @@ -50,7 +50,7 @@ Patch2: %{name}-lib64.patch Patch3: %{name}-noarch_to_datadir.patch Patch4: %{name}-no_cmdline_tests.patch Patch5: %{name}-makefile-location.patch -Patch6: libc-cloexec.patch + Patch7: python-distro.patch Patch8: %{name}-db.patch URL: http://www.python.org/ @@ -465,7 +465,7 @@ Moduły testowe dla Pythona. %patch3 -p1 %patch4 -p1 %patch5 -p1 -%patch6 -p1 + %patch7 -p1 %patch8 -p1 -- 2.44.0