New upstream release 2.0.6

Fixes various bugs with talloc_free_children and freeing complex
hierarchies with many siblinbgs.
This commit is contained in:
Simo Sorce 2011-08-08 20:44:09 -04:00
parent 51003350a0
commit 30e74bb86a
4 changed files with 9 additions and 43 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
talloc-2.0.1.tar.gz
/talloc-2.0.5.tar.gz
/talloc-2.0.6.tar.gz

View File

@ -1,35 +0,0 @@
From feff3aad50304450248aa66aed59d09439699234 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
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

View File

@ -5,8 +5,8 @@
%{!?python_version: %global python_version %(%{__python} -c "from distutils.sysconfig import get_python_version; print(get_python_version())")}
Name: libtalloc
Version: 2.0.5
Release: 8%{?dist}
Version: 2.0.6
Release: 1%{?dist}
Group: System Environment/Daemons
Summary: The talloc library
License: LGPLv3+
@ -20,7 +20,6 @@ BuildRequires: docbook-style-xsl
BuildRequires: python-devel
# Patches
Patch0001: 0001-Install-python-bindings-in-the-arch-specific-locatio.patch
%description
A library that implements a hierarchical allocator with destructors.
@ -52,10 +51,8 @@ Development libraries for pytalloc
%prep
%setup -q -n talloc-%{version}
%patch0001 -p1
%build
./autogen.sh
%configure --disable-rpath --bundled-libraries=NONE
make %{?_smp_mflags} V=1
@ -104,6 +101,11 @@ rm -rf $RPM_BUILD_ROOT
%postun -n pytalloc -p /sbin/ldconfig
%changelog
* Mon Aug 08 2011 Simo Sorce <ssorce@redhat.com> - 2.0.6-1
- New upstream release
- Fixes various bugs with talloc_free_children and freeing complex
hierarchies with many siblinbgs.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
6e3fdfbc43dde8ccba27b6af894b8fb2 talloc-2.0.5.tar.gz
bd1be34297e89b27a394b49d5182550e talloc-2.0.6.tar.gz