Accepting request 484369 from Virtualization:VMware

1

OBS-URL: https://build.opensuse.org/request/show/484369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-vm-tools?expand=0&rev=72
This commit is contained in:
Yuchen Lin 2017-04-11 07:40:01 +00:00 committed by Git OBS Bridge
commit 6152947ae7
5 changed files with 44 additions and 6 deletions

12
glibc-sysmacros.patch Normal file
View File

@ -0,0 +1,12 @@
--- a/open-vm-tools/lib/wiper/wiperPosix.c 2017-02-11 03:06:43.000000000 -0700
+++ b/open-vm-tools/lib/wiper/wiperPosix.c 2017-03-27 15:06:41.269310652 -0600
@@ -31,6 +31,9 @@
#include <sys/stat.h>
#if defined(__linux__) || defined(sun)
# include <sys/vfs.h>
+# if defined(__linux__)
+# include <sys/sysmacros.h>
+# endif
#elif defined(__FreeBSD__) || defined(__APPLE__)
# include <sys/param.h>
# include <sys/ucred.h>

View File

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

View File

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

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Mar 31 20:55:06 UTC 2017 - ken@suse.com
- Fix unowned /var/lib/vmware directory. (bsc#1028866)
- Fix package dependency for open-vm-tools on libvmtools0 (bsc#1031968)
-------------------------------------------------------------------
Mon Mar 27 21:28:39 UTC 2017 - ken@suse.com
- fix build failure caused by upstream glibc change requiring
explicit include of sys/sysmacros.h
+ glibc-sysmacros.patch
-------------------------------------------------------------------
Thu Mar 9 00:30:39 UTC 2017 - ken@suse.com
- Updated to 10.1.5 stable release (boo#1027987)
+ Authentication failure is reported as unknown general system error.
+ Unable to backup virtual machines with active Docker containers.
-------------------------------------------------------------------
Mon Feb 20 11:18:02 CET 2017 - kukuk@suse.de

View File

@ -73,13 +73,14 @@
Name: open-vm-tools
%define subname open-vm-tools
%define tarname open-vm-tools
Version: 10.1.0
%define bldnum 5055683
Version: 10.1.5
Release: 0
Summary: Open Virtual Machine Tools
License: BSD-3-Clause and GPL-2.0 and LGPL-2.1
Group: System/Emulators/PC
Url: https://github.com/vmware/open-vm-tools
Source: %{tarname}-%{version}.tar.gz
Source: %{tarname}-%{version}-%{bldnum}.tar.gz
Source1: vmtoolsd
Source2: vmtoolsd.service
Source3: vmware-user-autostart.desktop
@ -127,6 +128,7 @@ BuildRequires: udev
%else
%define _udevrulesdir /lib/udev/rules.d
%endif
Requires: libvmtools0 = %{version}-%{release}
Requires: net-tools
Requires: tar
%if 0%{?suse_version} >= 1310
@ -141,6 +143,7 @@ Requires(pre): %insserv_prereq
%endif
ExclusiveArch: %ix86 x86_64
Patch0: Report-SLES12-SAP-guest-OS-as-SLES12.patch
Patch1: glibc-sysmacros.patch
%if %{with systemd}
%systemd_requires
@ -205,10 +208,11 @@ Those are the development headers for libvmtools. They are needed
if you intend to create own plugins for vmtoolsd.
%prep
%setup -q -n %{tarname}-%{version}/%{subname}
%setup -q -n %{tarname}-%{version}-%{bldnum}/%{subname}
# fix for an rpmlint warning regarding wrong line feeds
sed -i -e "s/\r//" README
%patch0 -p2
%patch1 -p2
%build
# disable warning unused-but-set-variable which will raise error because of -Werror
@ -288,6 +292,7 @@ ln -sf service %{buildroot}%{_sbindir}/rcvmblock-fuse
%if %{with vgauth}
install -p -m 644 -D %{SOURCE8} %{buildroot}%{_unitdir}/vgauthd.service
ln -sf service %{buildroot}%{_sbindir}/rcvgauthd
mkdir -p %{buildroot}%{_var}/lib/vmware
%else
# if vgauth is not enabled, it must be removed from vmtoolsd.service
sed -i '/vgauth/d' %{buildroot}%{_unitdir}/vmtoolsd.service
@ -472,6 +477,7 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/vmware-tools/guestproxy-ssl.conf
%endif
%if %{with vgauth}
%dir %{_var}/lib/vmware
%{_bindir}/VGAuthService
%{_bindir}/vmware-vgauth-cmd
%dir %{_sysconfdir}/vmware-tools/vgauth