forked from pool/samba
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:
11
samba.spec
11
samba.spec
@@ -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
|
||||
|
Reference in New Issue
Block a user