diff --git a/samba.changes b/samba.changes index c4056c2..34e308f 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 23 15:27:07 UTC 2018 - dmulder@suse.com + +- samba fails to build with glibc2.27; (bsc#1081042); + ------------------------------------------------------------------- Mon Feb 12 09:12:02 UTC 2018 - scabrero@suse.com diff --git a/samba.spec b/samba.spec index 8725c62..bf764c6 100644 --- a/samba.spec +++ b/samba.spec @@ -1067,6 +1067,9 @@ if command -v ncurses6-config &> /dev/null; then fi export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS -I/usr/include/tirpc" +%if 0%{?suse_version} >= 1330 +export LDFLAGS="-ltirpc" +%endif %if 0%{?suse_version} < 1141 %{?suse_update_config:%{suse_update_config -f}} %endif