Package new upstream version open-vm-tools-9.4.6-1770165
This commit is contained in:
parent
da540f6db3
commit
cee4389594
@ -1,5 +1,5 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
### Copyright 2013 VMware, Inc. All rights reserved.
|
### Copyright 2013-14 VMware, Inc. All rights reserved.
|
||||||
###
|
###
|
||||||
### RPM SPEC file for building open-vm-tools packages.
|
### RPM SPEC file for building open-vm-tools packages.
|
||||||
###
|
###
|
||||||
@ -20,14 +20,14 @@
|
|||||||
|
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
%global majorversion 9.4
|
%global majorversion 9.4
|
||||||
%global minorversion 0
|
%global minorversion 6
|
||||||
%global toolsbuild 1280544
|
%global toolsbuild 1770165
|
||||||
%global toolsversion %{majorversion}.%{minorversion}
|
%global toolsversion %{majorversion}.%{minorversion}
|
||||||
%global toolsdaemon vmtoolsd
|
%global toolsdaemon vmtoolsd
|
||||||
|
|
||||||
Name: open-vm-tools
|
Name: open-vm-tools
|
||||||
Version: %{toolsversion}
|
Version: %{toolsversion}
|
||||||
Release: 10%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -35,12 +35,16 @@ URL: http://%{name}.sourceforge.net/
|
|||||||
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/stable-%{majorversion}.x/%{name}-%{version}-%{toolsbuild}.tar.gz
|
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/stable-%{majorversion}.x/%{name}-%{version}-%{toolsbuild}.tar.gz
|
||||||
Source1: %{toolsdaemon}.service
|
Source1: %{toolsdaemon}.service
|
||||||
Patch0: g_info_redefine.patch
|
Patch0: g_info_redefine.patch
|
||||||
|
Patch1: sizeof_argument.patch
|
||||||
%if 0%{?rhel} >= 7
|
%if 0%{?rhel} >= 7
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
%else
|
%else
|
||||||
ExclusiveArch: %{ix86} x86_64
|
ExclusiveArch: %{ix86} x86_64
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
# Fuse is optional and enables vmblock-fuse
|
# Fuse is optional and enables vmblock-fuse
|
||||||
@ -100,16 +104,19 @@ VMware virtual machines.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}-%{toolsbuild}
|
%setup -q -n %{name}-%{version}-%{toolsbuild}
|
||||||
%patch0 -p1 -b .g_info
|
%patch0 -p1 -b .g_info
|
||||||
|
%patch1 -p1 -b .sizeof
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Use -Wno-unused-local-typedefs to build with GCC 4.8
|
# Use -Wno-unused-local-typedefs to build with GCC 4.8
|
||||||
# Use -Wno-deprecated-declarations for version 9.4.0
|
# Use -Wno-deprecated-declarations for version 9.4.0+
|
||||||
# Use _DEFAULT_SOURCE to suppress warning until upstream
|
# Use _DEFAULT_SOURCE to suppress warning until upstream
|
||||||
# is fixed. Refer https://sourceware.org/bugzilla/show_bug.cgi?id=16632.
|
# is fixed. Refer https://sourceware.org/bugzilla/show_bug.cgi?id=16632.
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -Wno-unused-local-typedefs -Wno-deprecated-declarations -D_DEFAULT_SOURCE"
|
export CFLAGS="$RPM_OPT_FLAGS -Wno-unused-local-typedefs -Wno-deprecated-declarations -D_DEFAULT_SOURCE"
|
||||||
export CXXLAGS="$RPM_OPT_FLAGS -Wno-unused-local-typedefs -Wno-deprecated-declarations -D_DEFAULT_SOURCE"
|
export CXXLAGS="$RPM_OPT_FLAGS -Wno-unused-local-typedefs -Wno-deprecated-declarations -D_DEFAULT_SOURCE"
|
||||||
# Required for version 9.4.0
|
# Required for version 9.4.0+
|
||||||
export CUSTOM_PROCPS_NAME=procps
|
export CUSTOM_PROCPS_NAME=procps
|
||||||
|
# Required for version 9.4.6
|
||||||
|
autoreconf -i
|
||||||
%configure \
|
%configure \
|
||||||
--without-kernel-modules \
|
--without-kernel-modules \
|
||||||
--disable-static
|
--disable-static
|
||||||
@ -207,6 +214,13 @@ fi
|
|||||||
%{_libdir}/libvmtools.so
|
%{_libdir}/libvmtools.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 16 2014 Ravindra Kumar <ravindrakumar@vmware.com> - 9.4.6-1
|
||||||
|
- Package new upstream version open-vm-tools-9.4.6-1770165
|
||||||
|
- Added "autoreconf -i" and its build dependencies (autoconf, automake and libtool)
|
||||||
|
to generate configure script, this is required for version 9.4.6 as it does not
|
||||||
|
have configure script bundled in the tar
|
||||||
|
- Fix (sizeof_argument.patch) for bad sizeof argument error
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.4.0-10
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.4.0-10
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user