From d3afc22ba90cfb2047a3ff5778da08e3d7d7dfacccb228bc80a95e4de962b729 Mon Sep 17 00:00:00 2001 From: James McDonough Date: Fri, 23 Feb 2018 19:40:04 +0000 Subject: [PATCH] Accepting request 579551 from home:dmulder:branches:network:samba:STABLE - samba fails to build with glibc2.27; (bsc#1081042); OBS-URL: https://build.opensuse.org/request/show/579551 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=583 --- samba.changes | 5 +++++ samba.spec | 3 +++ 2 files changed, 8 insertions(+) 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