Accepting request 254523 from home:bmanojlovic:branches:Virtualization:VMware

- Updated to latest release 9.4.6-1770165
  + Release matching the vSphere 5.5p02 release
- "which" as separate package does not exist on older opensuse versions
  so removed from Requires for older distributions
- used autoreconf as source package does not provide configure script anymore
- removed vmsync module from OS12.3 build target as it does not compile

OBS-URL: https://build.opensuse.org/request/show/254523
OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=262
This commit is contained in:
Dominique Leuenberger 2014-10-08 07:10:20 +00:00 committed by Git OBS Bridge
parent bc79e93ce3
commit 0a7f959555
4 changed files with 35 additions and 13 deletions

View File

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

View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Oct 6 22:25:36 UTC 2014 - boris@steki.net
- Updated to latest release 9.4.6-1770165
+ Release matching the vSphere 5.5p02 release
- "which" as separate package does not exist on older opensuse versions
so removed from Requires for older distributions
- used autoreconf as source package does not provide configure script anymore
- removed vmsync module from OS12.3 build target as it does not compile
-------------------------------------------------------------------
Fri May 16 16:57:16 UTC 2014 - mlatimer@suse.com

View File

@ -32,26 +32,31 @@
# 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'
%if 0%{?suse_version} <= 1230
# Modules to be built up to openSUSE 12.3, possibly not building on newer versions.
%define vm_modules1230 vmci vsock
%endif
%if 0%{?suse_version} <= 1220
# Modules to be built up to openSUSE 12.1, possibly not building on newer versions.
%define vm_modules1220 vmsync
%endif
%if 0%{?suse_version} <= 1210
# Modules to be built up to openSUSE 12.1, possibly not building on newer versions.
%define vm_modules1210 vmxnet
%endif
%if 0%{?suse_version} <= 1230
# Modules to be built up to openSUSE 12.3, possibly not building on newer versions.
%define vm_modules1230 vmci vsock vmsync
%endif
# Modules that have to be build up to version 12.3 (Last checked on 2012-02-05 with kernel 3.2.0)
%define vm_modules %{?vm_modules1230} %{?vmhgfs} %{?vm_modules1210}
%define vm_modules %{?vm_modules1230} %{?vmhgfs} %{?vm_modules1210} %{?vm_modules1220}
# X modules are lower prio upstream and once in a while fail. Offer an easy way to enable/disable them.
%define with_X 1
Name: open-vm-tools
Version: 9.4.0
Version: 9.4.6
Release: 0
%define svn_rev 1280544
%define svn_rev 1770165
Summary: Open Virtual Machine Tools
License: BSD-3-Clause and GPL-2.0 and LGPL-2.1
Group: System/Emulators/PC
@ -76,9 +81,12 @@ BuildRequires: gtkmm2-devel
BuildRequires: kernel-source
BuildRequires: kernel-syms
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: libdnet-devel
BuildRequires: libicu-devel
BuildRequires: libtool
BuildRequires: module-init-tools
BuildRequires: pam-devel
BuildRequires: pcre-devel
@ -95,7 +103,9 @@ BuildRequires: fuse-devel
%endif
Requires: net-tools
Requires: tar
%if 0%{?suse_version} >= 1310
Requires: which
%endif
%if 0%{?suse_version} < 1310
Requires: vmware-guest-kmp
%endif
@ -210,10 +220,11 @@ sed -i -e "s/\r//" README
%build
# disable warning unused-but-set-variable which will raise error because of -Werror
# disable warning deprecated-declarations which will raise error because of -Werror
# disable warning sizeof-pointer-memaccess which will raise error because of -Werror
# (this is because of 'g_static_mutex_init' usage which is now deprecated)
%if 0%{?suse_version} > 1110
export CFLAGS="%{optflags} -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -fPIE"
export CXXFLAGS="%{optflags} -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -fPIE"
export CFLAGS="%{optflags} -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-sizeof-pointer-memaccess -fPIE"
export CXXFLAGS="%{optflags} -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-sizeof-pointer-memaccess -fPIE"
%else
export CFLAGS="%{optflags} -Wno-deprecated-declarations -fPIE"
export CXXFLAGS="%{optflags} -Wno-deprecated-declarations -fPIE"
@ -221,6 +232,7 @@ export CXXFLAGS="%{optflags} -Wno-deprecated-declarations -fPIE"
export LDFLAGS="-pie"
# Required for version 9.4.0
export CUSTOM_PROCPS_NAME=procps
autoreconf -fi
%configure \
--without-kernel-modules \
--without-root-privileges \