Actually install open-vm-tools.permissions....

OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=208
This commit is contained in:
Dominique Leuenberger 2011-09-22 06:49:08 +00:00 committed by Git OBS Bridge
parent 28ab190c87
commit 7c4ea11bc0

View File

@ -232,6 +232,10 @@ ln -sf ../../etc/init.d/vmtoolsd %{buildroot}%{_sbindir}/rcvmtoolsd
# which checks for /proc/fs/vmblock/dev to appear and then starts vmware-user-suid-wrapper # which checks for /proc/fs/vmblock/dev to appear and then starts vmware-user-suid-wrapper
install -D -m 0755 %{SOURCE5} %{buildroot}%{_bindir}/vmware-user-autostart-wrapper install -D -m 0755 %{SOURCE5} %{buildroot}%{_bindir}/vmware-user-autostart-wrapper
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop
# In case we install vmware-user-suid-wrapper, we need to give it 4755 permissions.
install -D -m 0644 %{S:4} %{buildroot}%{_sysconfdir}/permissions.d/open-vm-tools
# We have our own 'safe' autostart wrapper, which checks for modules to start in autologin mode... # We have our own 'safe' autostart wrapper, which checks for modules to start in autologin mode...
# Thus we drop the 'original' autostartup # Thus we drop the 'original' autostartup
rm %{buildroot}%{_sysconfdir}/xdg/autostart/vmware-user.desktop rm %{buildroot}%{_sysconfdir}/xdg/autostart/vmware-user.desktop
@ -323,6 +327,7 @@ rm -rf %{buildroot}
%defattr(-, root, root) %defattr(-, root, root)
%{_bindir}/vmware-toolbox %{_bindir}/vmware-toolbox
%{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop %{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop
%{_sysconfdir}/permissions.d/open-vm-tools
%verify(not mode) %attr(0755,root,root) %{_bindir}/vmware-user-suid-wrapper %verify(not mode) %attr(0755,root,root) %{_bindir}/vmware-user-suid-wrapper
%{_libdir}/%{name}/plugins/vmusr/libdesktopEvents.so %{_libdir}/%{name}/plugins/vmusr/libdesktopEvents.so
%{_libdir}/%{name}/plugins/vmusr/libdndcp.so %{_libdir}/%{name}/plugins/vmusr/libdndcp.so