diff --git a/0001-Install-python-bindings-in-the-arch-specific-locatio.patch b/0001-Install-python-bindings-in-the-arch-specific-locatio.patch deleted file mode 100644 index 0488a1e..0000000 --- a/0001-Install-python-bindings-in-the-arch-specific-locatio.patch +++ /dev/null @@ -1,35 +0,0 @@ -From feff3aad50304450248aa66aed59d09439699234 Mon Sep 17 00:00:00 2001 -From: Stephen Gallagher -Date: Wed, 12 Jan 2011 15:01:52 -0500 -Subject: [PATCH] Install python bindings in the arch-specific location - ---- - buildtools/wafsamba/samba_python.py | 5 ++++- - 1 files changed, 4 insertions(+), 1 deletions(-) - -diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py -index a663b1910d063336c1340142ae8855d7e176ecdb..9b72f3fd112288a022a2de0701594814616f202f 100644 ---- a/buildtools/wafsamba/samba_python.py -+++ b/buildtools/wafsamba/samba_python.py -@@ -51,6 +51,9 @@ def SAMBA_PYTHON(bld, name, - - link_name = 'python/%s' % realname - -+ from distutils.sysconfig import get_python_lib -+ arch_install_dir = get_python_lib(1) -+ - bld.SAMBA_LIBRARY(name, - source=source, - deps=deps, -@@ -63,7 +66,7 @@ def SAMBA_PYTHON(bld, name, - link_name=link_name, - pyembed=True, - target_type='PYTHON', -- install_path='${PYTHONDIR}', -+ install_path=arch_install_dir, - enabled=enabled) - - Build.BuildContext.SAMBA_PYTHON = SAMBA_PYTHON --- -1.7.3.4 - diff --git a/libtevent.spec b/libtevent.spec index 2ccad39..c3d616a 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -18,9 +18,6 @@ BuildRequires: libtalloc-devel >= 2.0.5 BuildRequires: python-devel BuildRequires: pytalloc-devel >= 2.0.5 -# Patches -Patch0001: 0001-Install-python-bindings-in-the-arch-specific-locatio.patch - %description Tevent is an event system based on the talloc memory management library. Tevent has support for many event types, including timers, signals, and @@ -49,7 +46,6 @@ Python bindings for libtevent %prep %setup -q -n tevent-%{version} -#%patch0001 -p1 %build %configure --disable-rpath --bundled-libraries=NONE