Use tirpc for Fedora 28 onwards.

This commit is contained in:
Ravindra Kumar 2018-05-09 12:42:44 -07:00
parent 5e0c1cb0e2
commit 4287fbba20

View File

@ -28,7 +28,7 @@
Name: open-vm-tools
Version: %{toolsversion}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
Group: Applications/System
License: GPLv2
@ -81,11 +81,11 @@ BuildRequires: libXtst-devel
BuildRequires: openssl-devel
BuildRequires: pam-devel
BuildRequires: procps-devel
%if 0%{?fedora} >= 29
%if 0%{?fedora} >= 28
BuildRequires: rpcgen
%endif
BuildRequires: systemd
%if 0%{?fedora} >= 29
%if 0%{?fedora} >= 28
BuildRequires: libtirpc-devel
%endif
BuildRequires: xmlsec1-openssl-devel
@ -156,7 +156,7 @@ machines.
autoreconf -i
autoconf
%if 0%{?fedora} >= 29
%if 0%{?fedora} >= 28
%global usetirpc with-tirpc
%else
%global usetirpc without-tirpc
@ -331,6 +331,9 @@ fi
%{_bindir}/vmware-vgauth-smoketest
%changelog
* Wed May 09 2018 Ravindra Kumar <ravindrakumar@vmware.com> - 10.2.5-2
- Use tirpc for Fedora 28 onwards.
* Wed May 09 2018 Ravindra Kumar <ravindrakumar@vmware.com> - 10.2.5-1
- Package new upstream version open-vm-tools-10.2.5-8068406 (RHBZ#1431376).
- Added use-tirpc.patch to use libtirpc instead of deprecated Sun RPC.