- Build SLE11 and earlier without -Wno-format-length.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=89
This commit is contained in:
James McDonough 2017-03-23 19:47:18 +00:00 committed by Git OBS Bridge
parent 12938fa144
commit bbc8742aab
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Index: talloc-2.1.9/lib/replace/wscript
===================================================================
--- talloc-2.1.9.orig/lib/replace/wscript
+++ talloc-2.1.9/lib/replace/wscript
@@ -706,8 +706,7 @@ def build(bld):
bld.SAMBA_SUBSYSTEM('replace-test',
source='''test/testsuite.c test/strptime.c
test/os2_delete.c test/getifaddrs.c''',
- deps='replace',
- cflags="-Wno-format-length")
+ deps='replace')
if bld.env.standalone_replace:
bld.SAMBA_BINARY('replace_testsuite',

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 23 20:45:20 UTC 2017 - jmcdonough@suse.com
- Build SLE11 and earlier without -Wno-format-length.
-------------------------------------------------------------------
Wed Mar 22 16:51:46 UTC 2017 - jmcdonough@suse.com

View File

@ -62,6 +62,7 @@ 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
Patch0: talloc-python3.5-fix-soabi_name.patch
Patch1: sle11-remove-unknown-compiler-options.patch
Source50: talloc.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -175,6 +176,9 @@ Libraries and Header Files to Develop Programs with python3-talloc Support
%prep
%setup -n talloc-%{version} -q
%patch0 -p1
%if 0%{?suse_version} < 1200
%patch1 -p1
%endif
%build
%if ! %{build_man}