+++ /dev/null
---- samba-4.1.6/libcli/smbreadline/smbreadline.c.orig 2013-06-13 11:21:02.000000000 +0200
-+++ samba-4.1.6/libcli/smbreadline/smbreadline.c 2014-03-12 20:41:16.503527437 +0100
-@@ -141,7 +141,7 @@
-
- #if HAVE_DECL_RL_EVENT_HOOK
- if (callback)
-- rl_event_hook = (Function *)callback;
-+ rl_event_hook = (rl_hook_func_t *)callback;
- #endif
- ret = readline(prompt);
- if (ret && *ret)
Summary: Samba Active Directory and SMB server
Summary(pl.UTF-8): Serwer Samba Active Directory i SMB
Name: samba
-Version: 4.1.6
+Version: 4.1.7
Release: 1
Epoch: 1
License: GPL v3
Group: Networking/Daemons
Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz
-# Source0-md5: 9dc64658c0cc81e7637f9b975c19638c
+# Source0-md5: bc44b0a245468c3574ef07644206ede3
Source1: smb.init
Source2: samba.pamd
Source4: samba.sysconfig
Patch4: unicodePwd-nthash-values-over-LDAP.patch
Patch5: link.patch
Patch6: server-role.patch
-Patch7: %{name}-readline.patch
URL: http://www.samba.org/
BuildRequires: acl-devel
%{?with_avahi:BuildRequires: avahi-devel}
%patch4 -p1
%patch5 -p1
%patch6 -p1
-%patch7 -p1
%{__sed} -i -e 's|#!/usr/bin/env python|#!/usr/bin/python|' source4/scripting/bin/samba*
%{__sed} -i -e 's|#!/usr/bin/env perl|#!/usr/bin/perl|' pidl/pidl