Accepting request 33843 from Virtualization:VMware

Copy from Virtualization:VMware/open-vm-tools based on submit request 33843 from user dimstar

OBS-URL: https://build.opensuse.org/request/show/33843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-vm-tools?expand=0&rev=15
This commit is contained in:
OBS User autobuild 2010-03-05 10:55:11 +00:00 committed by Git OBS Bridge
parent f2b40700c1
commit 547247e109
4 changed files with 23 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b35ecb09aae15290bc75346aa00d46477984243f6ff49b66de30781994af6217
size 2379802

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec51b1df725d87830fb7110fa355eb06a66df7e0ad6da6016abae4e7670e5437
size 2394276

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 25 20:42:39 UTC 2010 - dominique.leuenberger@tmf-group.com
- Update to 2010.02.23:
+ Mostly bug fixes, cleanups and code refactoring.
-------------------------------------------------------------------
Wed Feb 10 09:05:51 UTC 2010 - dimstar@opensuse.org

View File

@ -1,5 +1,5 @@
#
# spec file for package open-vm-tools (Version 2010.01.19)
# spec file for package open-vm-tools (Version 2010.02.23)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,14 +17,15 @@
# norootforbuild
# exclude AMD PCnet32 LANCE pci.id from Supplements list [bnc#397554]
%define __find_supplements sh -c '/usr/lib/rpm/find-supplements %{name} | grep -v pci:v00001022d00002000'
Name: open-vm-tools
Group: System/Emulators/PC
Summary: Open Virtual Machine Tools
Version: 2010.01.19
Version: 2010.02.23
Release: 1
%define svn_rev 226760
%define svn_rev 236320
Url: http://open-vm-tools.sourceforge.net/
License: BSD3c ; GPLv2 ; LGPLv2.1
Source: %{name}-%{version}-%{svn_rev}.tar.bz2
@ -61,6 +62,7 @@ Supplements: modalias(pci:v000015ADd*sv*sd*bc*sc*i*)
%if 0%{suse_version} <= 1120
%define vm_module %{vm_modules} vmxnet3
%endif
%suse_kernel_module_package -n vmware-guest -p %{SOURCE98} xen um
%description
@ -164,6 +166,7 @@ sed -i -e "s/\r//" README
--disable-dependency-tracking \
--disable-static
make
TOPDIR=$PWD
cd ..
mkdir -p obj
@ -192,25 +195,32 @@ for flavor in %{flavors_to_build}; do
popd
done
popd
# fix some rights on the kernel modules, to have a complete -debuginfo package
chmod u+x $RPM_BUILD_ROOT/lib/modules/*/updates/*
%makeinstall
# Clean up the *.la files make install put all around
find %{buildroot} -name '*.la' -delete -print
rm %{buildroot}%{_datadir}/applications/vmware-user.desktop
# install the vmtoolsd init script and also it's rcvmtoolsd softlink
install -D -m 0755 %{S:1} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/vmtoolsd
ln -sf ../../etc/init.d/vmtoolsd $RPM_BUILD_ROOT%{_sbindir}/rcvmtoolsd
# vmware-user is started by vmware-user-suid-wrapper by xdg-autostart
# unfortunately, vmware-user-suid-wrapper does not wait for it's block device
# to appear. For this reason we have now a vmware-user-autostart-wrapper
# which checks for /proc/fs/vmblock/dev to appear and then starts vmware-user-suid-wrapper
install -D -m 0755 %{S:5} $RPM_BUILD_ROOT%{_bindir}/vmware-user-autostart-wrapper
install -D -m 0644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop
# handle the .destop files for translations
%suse_update_desktop_file vmware-user-autostart
# fix a link pointing to the buildroot for mount.vmhgfs
( cd %{buildroot}/sbin; rm mount.vmhgfs; ln -s ..%{_sbindir}/mount.vmhgfs )
# the script installs some binaries into /usr/share/open-vm-tools which are just some tests.
# So we drop them for the moment. Upstream has been informed about this.
rm -rf %{buildroot}%{_datadir}/%{name}
@ -219,6 +229,7 @@ rm -rf %{buildroot}%{_datadir}/%{name}
%run_permissions
/sbin/ldconfig
%{fillup_and_insserv -Y vmtoolsd}
%verifyscript gui
%verify_permissions