SHA256
1
0
forked from pool/ldb

Accepting request 368616 from network:samba:STABLE

Add ldb-python3.5-fix-soabi_name.patch: Do not change x86_64 to
x86-64 when building with python 3.5.

OBS-URL: https://build.opensuse.org/request/show/368616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ldb?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2016-03-14 08:56:52 +00:00 committed by Git OBS Bridge
commit 0f5721e597
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: ldb-1.1.26/buildtools/wafsamba/wafsamba.py
===================================================================
--- ldb-1.1.26.orig/buildtools/wafsamba/wafsamba.py
+++ ldb-1.1.26/buildtools/wafsamba/wafsamba.py
@@ -115,7 +115,7 @@ def SAMBA_LIBRARY(bld, libname, source,
ldflags='',
external_library=False,
realname=None,
- keep_underscore=False,
+ keep_underscore=True,
autoproto=None,
autoproto_extra_source='',
group='main',

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 8 12:49:48 UTC 2016 - dimstar@opensuse.org
- Add ldb-python3.5-fix-soabi_name.patch: Do not change x86_64 to
x86-64 when building with python 3.5.
-------------------------------------------------------------------
Sun Feb 21 16:55:27 UTC 2016 - lmuelle@suse.com

View File

@ -58,6 +58,7 @@ Source: https://download.samba.org/pub/ldb/ldb-%{version}.tar.gz
Source1: https://download.samba.org/pub/ldb/ldb-%{version}.tar.asc
Source2: ldb.keyring
Source4: baselibs.conf
Patch0: ldb-python3.5-fix-soabi_name.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -163,6 +164,7 @@ LDB library.
%prep
%setup -n ldb-%{version} -q
%patch0 -p1
%build
%if 0%{?suse_version} && 0%{?suse_version} < 911