Browse code

Fix to remove all files associated with open-vm-tools on uninstallation

Change-Id: I47f93b3bc753fd0f5625761e6527973e215ce222
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6548
Tested-by: michellew <michellew@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

gsujayvmw authored on 2019/01/22 17:43:53
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Usermode tools for VmWare virts
2 2
 Name:           open-vm-tools
3 3
 Version:        10.3.0
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        LGPLv2+
6 6
 URL:            https://github.com/vmware/open-vm-tools
7 7
 Group:          Applications/System
... ...
@@ -100,13 +100,25 @@ if [ "$1" = "0" -a                      \
100 100
    %{_bindir}/vmware-rpctool 'tools.set.version 0' &> /dev/null || /bin/true
101 101
 fi
102 102
 
103
-%postun 
103
+%postun
104 104
 /sbin/ldconfig
105 105
 %systemd_postun_with_restart vmtoolsd.service vgauthd.service
106 106
 
107
-%files 
107
+%files
108 108
 %defattr(-,root,root)
109
-%{_libdir}/open-vm-tools/plugins/*
109
+%dir %{_libdir}/%{name}
110
+%dir %{_libdir}/%{name}/plugins
111
+%dir %{_libdir}/%{name}/plugins/common
112
+%dir %{_libdir}/%{name}/plugins/vmsvc
113
+%{_libdir}/%{name}/plugins/vmsvc/libdeployPkgPlugin.so
114
+%{_libdir}/%{name}/plugins/vmsvc/libgrabbitmqProxy.so
115
+%{_libdir}/%{name}/plugins/vmsvc/libguestInfo.so
116
+%{_libdir}/%{name}/plugins/vmsvc/libpowerOps.so
117
+%{_libdir}/%{name}/plugins/vmsvc/libresolutionKMS.so
118
+%{_libdir}/%{name}/plugins/vmsvc/libtimeSync.so
119
+%{_libdir}/%{name}/plugins/vmsvc/libvmbackup.so
120
+%{_libdir}/%{name}/plugins/common/libhgfsServer.so
121
+%{_libdir}/%{name}/plugins/common/libvix.so
110 122
 %{_libdir}/*.so.*
111 123
 %{_bindir}/*
112 124
 %{_sysconfdir}/*
... ...
@@ -121,6 +133,8 @@ fi
121 121
 %{_libdir}/*.so
122 122
 
123 123
 %changelog
124
+*   Tue Jan 29 2019 Tapas Kundu <tkundu@vmware.com> 10.3.0-3
125
+-   Fix to remove all files associated with open-vm-tools on uninstallation.
124 126
 *   Mon Oct 22 2018 Ajay Kaher <akaher@vmware.com> 10.3.0-2
125 127
 -   Adding BuildArch
126 128
 *   Tue Sep 25 2018 Alexey Makhalov <amakhalov@vmware.com> 10.3.0-1