Accepting request 577066 from home:dmulder:branches:network:samba:STABLE

- Re-enable usage of libnsl (did got lost with glibc change)
- Use TI-RPC (sunrpc is deprecated and will be removed soon from
  glibc)

OBS-URL: https://build.opensuse.org/request/show/577066
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=582
This commit is contained in:
Samuel Cabrero 2018-02-15 16:50:20 +00:00 committed by Git OBS Bridge
parent e51c95ae52
commit 4d6e2ed9eb
2 changed files with 17 additions and 1 deletions

View File

@ -74,6 +74,13 @@ Fri Feb 9 13:25:11 UTC 2018 - scabrero@suse.com
+ vfs_glusterfs: include glusterfs/api/glfs.h without relying on "-I"
options; (bso#13125);
-------------------------------------------------------------------
Wed Dec 6 17:52:41 UTC 2017 - kukuk@suse.de
- Re-enable usage of libnsl (did got lost with glibc change)
- Use TI-RPC (sunrpc is deprecated and will be removed soon from
glibc)
-------------------------------------------------------------------
Wed Nov 29 16:59:07 UTC 2017 - david.mulder@suse.com

View File

@ -71,7 +71,13 @@ BuildRequires: cracklib-devel
BuildRequires: gdbm-devel
BuildRequires: keyutils-devel
BuildRequires: libnscd-devel
%if 0%{?suse_version} >= 1330
BuildRequires: libnsl-devel
%endif
BuildRequires: libopenssl-devel
%if 0%{?suse_version} >= 1330
BuildRequires: libtirpc-devel
%endif
BuildRequires: ncurses-devel
BuildRequires: openldap2-devel
BuildRequires: pam-devel
@ -80,6 +86,9 @@ BuildRequires: pwdutils
BuildRequires: python-devel
BuildRequires: python-xml
BuildRequires: readline-devel
%if 0%{?suse_version} >= 1330
BuildRequires: rpcgen
%endif
%if 0%{?suse_version} > 1110
BuildRequires: fdupes
%endif
@ -1057,7 +1066,7 @@ if command -v ncurses6-config &> /dev/null; then
export NCURSES_CONFIG="$(command -v ncurses6-config)"
fi
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS"
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS -I/usr/include/tirpc"
%if 0%{?suse_version} < 1141
%{?suse_update_config:%{suse_update_config -f}}
%endif