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:
parent
2749d40b4e
commit
00c447b63f
11
dont_remove_underscore.patch
Normal file
11
dont_remove_underscore.patch
Normal 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',
|
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user