From ccf613d7d6b18ded4149ac066107a055afb596b9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 05 2015 13:14:14 +0000 Subject: import open-vm-tools-9.4.0-6.el7 --- diff --git a/SPECS/open-vm-tools.spec b/SPECS/open-vm-tools.spec index f9be38c..1329ea5 100644 --- a/SPECS/open-vm-tools.spec +++ b/SPECS/open-vm-tools.spec @@ -27,7 +27,7 @@ Name: open-vm-tools Version: %{toolsversion} -Release: 3%{?dist} +Release: 6%{?dist} Summary: Open Virtual Machine Tools for virtual machines hosted on VMware Group: Applications/System License: GPLv2 @@ -57,12 +57,17 @@ BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libXtst-devel BuildRequires: pam-devel -BuildRequires: procps-devel +BuildRequires: procps-devel >= 3.3.10 BuildRequires: systemd -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd +Requires: initscripts +Requires: coreutils +Requires: net-tools +Requires: grep +Requires: sed +Requires: systemd +Requires: tar +Requires: which %description The %{name} project is an open source implementation of VMware Tools. It @@ -125,6 +130,9 @@ find %{buildroot}%{_libdir} -name '*.la' -delete rm -fr %{buildroot}%{_defaultdocdir} rm -f docs/api/build/html/FreeSans.ttf +# Move vm-support to /usr/bin +mv %{buildroot}%{_sysconfdir}/vmware-tools/vm-support %{buildroot}%{_bindir} + # Systemd unit files install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service @@ -139,6 +147,14 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service %preun %systemd_preun %{toolsdaemon}.service +# Tell VMware that open-vm-tools is being uninstalled +if [ "$1" = "0" -a \ + -e %{_bindir}/vmware-checkvm -a \ + -e %{_bindir}/vmware-rpctool ] && \ + %{_bindir}/vmware-checkvm &> /dev/null; then + %{_bindir}/vmware-rpctool 'tools.set.version 0' &> /dev/null || /bin/true +fi + %postun /sbin/ldconfig %systemd_postun_with_restart %{toolsdaemon}.service @@ -157,6 +173,7 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service %{_bindir}/vmware-rpctool %{_bindir}/vmware-toolbox-cmd %{_bindir}/vmware-xferlogs +%{_bindir}/vm-support %{_libdir}/libguestlib.so.* %{_libdir}/libhgfs.so.* %{_libdir}/libvmtools.so.* @@ -186,6 +203,22 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service %{_libdir}/libvmtools.so %changelog +* Fri Sep 19 2014 Richard W.M. Jones - 9.4.0-6 +- Really rebuild for updated procps + resolves: rhbz#1140149 + +* Wed Sep 10 2014 Richard W.M. Jones - 9.4.0-5 +- Rebuild for updated procps + resolves: rhbz#1140149 + +* Mon Aug 18 2014 Richard W.M. Jones - 9.4.0-4 +- Removed unnecessary package dependency on 'dbus' +- Moved 'vm-support' script to /usr/bin +- Added a call to 'tools.set.version' RPC to inform VMware + platform when open-vm-tools has been uninstalled +- Add missing package dependency on 'which' (BZ#1045709) +- Add missing package dependencies (BZ#1045709, BZ#1077320) + * Tue Feb 11 2014 Richard W.M. Jones - 9.4.0-3 - Only build on x86-64 for RHEL 7 (RHBZ#1054608).