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 Name: open-vm-tools
Version: %{toolsversion} Version: %{toolsversion}
Release: 1%{?dist} Release: 2%{?dist}
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
Group: Applications/System Group: Applications/System
License: GPLv2 License: GPLv2
@ -81,11 +81,11 @@ BuildRequires: libXtst-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: pam-devel BuildRequires: pam-devel
BuildRequires: procps-devel BuildRequires: procps-devel
%if 0%{?fedora} >= 29 %if 0%{?fedora} >= 28
BuildRequires: rpcgen BuildRequires: rpcgen
%endif %endif
BuildRequires: systemd BuildRequires: systemd
%if 0%{?fedora} >= 29 %if 0%{?fedora} >= 28
BuildRequires: libtirpc-devel BuildRequires: libtirpc-devel
%endif %endif
BuildRequires: xmlsec1-openssl-devel BuildRequires: xmlsec1-openssl-devel
@ -156,7 +156,7 @@ machines.
autoreconf -i autoreconf -i
autoconf autoconf
%if 0%{?fedora} >= 29 %if 0%{?fedora} >= 28
%global usetirpc with-tirpc %global usetirpc with-tirpc
%else %else
%global usetirpc without-tirpc %global usetirpc without-tirpc
@ -331,6 +331,9 @@ fi
%{_bindir}/vmware-vgauth-smoketest %{_bindir}/vmware-vgauth-smoketest
%changelog %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 * 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). - 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. - Added use-tirpc.patch to use libtirpc instead of deprecated Sun RPC.