Accepting request 482969 from home:kenljohnson:branches:Virtualization:VMware

Update to upstream 10.1.5 release and fix current Factory build failure.

OBS-URL: https://build.opensuse.org/request/show/482969
OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=344
This commit is contained in:
Ken Johnson 2017-03-27 22:20:38 +00:00 committed by Git OBS Bridge
parent 255bf20623
commit 5ec8e10dba
5 changed files with 35 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,17 @@
-------------------------------------------------------------------
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
@ -141,6 +142,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 +207,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