From be880f79047e1e0fc3254a93399d1a333a9bb5dbe6a07b1adef706aaaaea30fd Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 7 Sep 2020 14:35:46 +0000 Subject: [PATCH] Accepting request 832799 from home:Andreas_Schwab:Factory - Use libtirpc also in SLE-15-SP3 OBS-URL: https://build.opensuse.org/request/show/832799 OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=399 --- open-vm-tools.changes | 5 +++++ open-vm-tools.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/open-vm-tools.changes b/open-vm-tools.changes index 96b85e8..eeeb772 100644 --- a/open-vm-tools.changes +++ b/open-vm-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 7 10:31:27 UTC 2020 - Andreas Schwab + +- Use libtirpc also in SLE-15-SP3 + ------------------------------------------------------------------- Fri Aug 28 14:57:34 UTC 2020 - Kirk Allan diff --git a/open-vm-tools.spec b/open-vm-tools.spec index e261025..9403eb0 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -73,7 +73,7 @@ BuildRequires: pam-devel BuildRequires: pcre-devel BuildRequires: procps-devel BuildRequires: update-desktop-files -%if 0%{?suse_version} > 1500 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150300 BuildRequires: glibc >= 2.27 BuildRequires: libtirpc-devel BuildRequires: rpcgen @@ -230,7 +230,7 @@ sed -i -e "s/\r//" README # (this is because of 'g_static_mutex_init' usage which is now deprecated) export CFLAGS="%{optflags} -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-sizeof-pointer-memaccess -Wno-cpp -fPIE" export CXXFLAGS="%{optflags} -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-sizeof-pointer-memaccess -Wno-cpp -fPIE" -%if 0%{?suse_version} > 1500 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150300 export LDFLAGS="-pie -ltirpc" %else export LDFLAGS="-pie"