- 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:
parent
12938fa144
commit
bbc8742aab
14
sle11-remove-unknown-compiler-options.patch
Normal file
14
sle11-remove-unknown-compiler-options.patch
Normal 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',
|
@ -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
|
Wed Mar 22 16:51:46 UTC 2017 - jmcdonough@suse.com
|
||||||
|
|
||||||
|
@ -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
|
Source1: http://download.samba.org/pub/talloc/talloc-%{version}.tar.asc
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
Patch0: talloc-python3.5-fix-soabi_name.patch
|
Patch0: talloc-python3.5-fix-soabi_name.patch
|
||||||
|
Patch1: sle11-remove-unknown-compiler-options.patch
|
||||||
Source50: talloc.keyring
|
Source50: talloc.keyring
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -175,6 +176,9 @@ Libraries and Header Files to Develop Programs with python3-talloc Support
|
|||||||
%prep
|
%prep
|
||||||
%setup -n talloc-%{version} -q
|
%setup -n talloc-%{version} -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%if 0%{?suse_version} < 1200
|
||||||
|
%patch1 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if ! %{build_man}
|
%if ! %{build_man}
|
||||||
|
Loading…
Reference in New Issue
Block a user