import libtalloc-2.3.1-2.el8
This commit is contained in:
parent
3787f7ef65
commit
e0f957e6e2
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/talloc-2.2.0.tar.gz
|
SOURCES/talloc-2.3.1.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
d806e2e4e9b973e8ab6521d1dd20a03abae32c99 SOURCES/talloc-2.2.0.tar.gz
|
1ff430a62264b29efac39a3fa26290586c019800 SOURCES/talloc-2.3.1.tar.gz
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
From 80be2141ffde6270f71f3f4ed4300762f8765c80 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Isaac Boukris <iboukris@gmail.com>
|
|
||||||
Date: Mon, 25 Nov 2019 13:16:42 +0100
|
|
||||||
Subject: [PATCH] ABI: add .PY3 alias to py{talloc,ldb} libs for backward
|
|
||||||
compatibility
|
|
||||||
|
|
||||||
Signed-off-by: Isaac Boukris <iboukris@samba.org>
|
|
||||||
---
|
|
||||||
buildtools/wafsamba/samba_abi.py | 8 ++++++++
|
|
||||||
1 file changed, 8 insertions(+)
|
|
||||||
|
|
||||||
Index: talloc-2.2.0/buildtools/wafsamba/samba_abi.py
|
|
||||||
===================================================================
|
|
||||||
--- talloc-2.2.0.orig/buildtools/wafsamba/samba_abi.py
|
|
||||||
+++ talloc-2.2.0/buildtools/wafsamba/samba_abi.py
|
|
||||||
@@ -172,6 +172,10 @@ def abi_write_vscript(f, libname, curren
|
|
||||||
version
|
|
||||||
"""
|
|
||||||
|
|
||||||
+ alias = None
|
|
||||||
+ if libname.startswith('PY') and libname.endswith('UTIL'):
|
|
||||||
+ alias = libname + '.PY3'
|
|
||||||
+
|
|
||||||
invmap = {}
|
|
||||||
for s in symmap:
|
|
||||||
invmap.setdefault(symmap[s], []).append(s)
|
|
||||||
@@ -180,6 +184,8 @@ def abi_write_vscript(f, libname, curren
|
|
||||||
versions = sorted(versions, key=version_key)
|
|
||||||
for k in versions:
|
|
||||||
symver = "%s_%s" % (libname, k)
|
|
||||||
+ if alias:
|
|
||||||
+ symver = "%s_%s" % (alias, k)
|
|
||||||
if symver == current_version:
|
|
||||||
break
|
|
||||||
f.write("%s {\n" % symver)
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: libtalloc
|
Name: libtalloc
|
||||||
Version: 2.2.0
|
Version: 2.3.1
|
||||||
Release: 7%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Summary: The talloc library
|
Summary: The talloc library
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
@ -19,7 +19,6 @@ Obsoletes: python2-talloc-devel < %{version}-%{release}
|
|||||||
Obsoletes: python2-talloc-debuginfo < %{version}-%{release}
|
Obsoletes: python2-talloc-debuginfo < %{version}-%{release}
|
||||||
|
|
||||||
# Patches
|
# Patches
|
||||||
Patch0001: py3_abi.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library that implements a hierarchical allocator with destructors.
|
A library that implements a hierarchical allocator with destructors.
|
||||||
@ -108,6 +107,9 @@ cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}
|
|||||||
%ldconfig_scriptlets -n python3-talloc
|
%ldconfig_scriptlets -n python3-talloc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 2 2020 Isaac Boukris <iboukris@redhat.com> - 2.3.1-2
|
||||||
|
- resolves: rhbz#1817560 - Update to version 2.3.1
|
||||||
|
|
||||||
* Mon Nov 25 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-7
|
* Mon Nov 25 2019 Isaac Boukris <iboukris@redhat.com> - 2.2.0-7
|
||||||
- related: rhbz#1754417 - Fix PY3 symbol names
|
- related: rhbz#1754417 - Fix PY3 symbol names
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user