Accepting request 367815 from home:TheBlackCat:branches:network:samba:STABLE

Add dont_remove_underscore.patch
Fixes building with python3 3.5.x

OBS-URL: https://build.opensuse.org/request/show/367815
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=74
This commit is contained in:
Lars Müller 2016-03-08 17:30:47 +00:00 committed by Git OBS Bridge
parent 2749d40b4e
commit 00c447b63f
5 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/buildtools/wafsamba/wafsamba.py 2015-11-06 08:28:25.000000000 -0500
+++ b/buildtools/wafsamba/wafsamba.py 2016-03-07 14:28:58.412124485 -0500
@@ -114,7 +114,7 @@
ldflags='',
external_library=False,
realname=None,
- keep_underscore=False,
+ keep_underscore=True,
autoproto=None,
autoproto_extra_source='',
group='main',

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 7 19:48:09 UTC 2016 - toddrme2178@gmail.com
- Add dont_remove_underscore.patch
wafsamba.py was stripping underscores from the SOABI, changing
the library names from what they should be. This fixes that.
This fixes compatibility with python 3.5+ on openSUSE.
-------------------------------------------------------------------
Sun Feb 21 16:44:01 UTC 2016 - lmuelle@suse.com

View File

@ -61,6 +61,8 @@ Group: System/Libraries
Source: http://download.samba.org/pub/talloc/talloc-%{version}.tar.gz
Source1: http://download.samba.org/pub/talloc/talloc-%{version}.tar.asc
Source4: baselibs.conf
# PATCH-FIX-OPENSUSE dont_remove_underscore.patch - keep original python ABI name
Patch0: dont_remove_underscore.patch
Source50: talloc.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -173,6 +175,7 @@ Libraries and Header Files to Develop Programs with python3-talloc Support
%prep
%setup -n talloc-%{version} -q
%patch0 -p1
%build
%if ! %{build_man}

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 7 19:48:09 UTC 2016 - toddrme2178@gmail.com
- Add dont_remove_underscore.patch
wafsamba.py was stripping underscores from the SOABI, changing
the library names from what they should be. This fixes that.
This fixes compatibility with python 3.5+ on openSUSE.
-------------------------------------------------------------------
Sun Feb 21 16:44:01 UTC 2016 - lmuelle@suse.com

View File

@ -61,6 +61,8 @@ Group: System/Libraries
Source: http://download.samba.org/pub/talloc/talloc-%{version}.tar.gz
Source1: http://download.samba.org/pub/talloc/talloc-%{version}.tar.asc
Source4: baselibs.conf
# PATCH-FIX-OPENSUSE dont_remove_underscore.patch - keep original python ABI name
Patch0: dont_remove_underscore.patch
Source50: talloc.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -173,6 +175,7 @@ Libraries and Header Files to Develop Programs with python3-talloc Support
%prep
%setup -n talloc-%{version} -q
%patch0 -p1
%build
%if ! %{build_man}