+BR gcc-c++. If this is missing it fails to build.
- On RHEL, disable libdnet.
This commit is contained in:
parent
8e9f95331e
commit
7ae75828a3
@ -6,7 +6,7 @@
|
||||
|
||||
Name: open-vm-tools
|
||||
Version: %{toolsversion}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Open VMware Tools for virtual machines hosted on VMware
|
||||
Group: Applications/System
|
||||
License: GPLv2
|
||||
@ -15,13 +15,16 @@ Source0: http://sourceforge.net/projects/%{name}/files/%{name}/stable-%
|
||||
Source1: %{toolsdaemon}.service
|
||||
ExclusiveArch: %{ix86} x86_64
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: doxygen
|
||||
# Fuse is optional and enables vmblock-fuse
|
||||
BuildRequires: fuse-devel
|
||||
BuildRequires: glib2-devel >= 2.14.0
|
||||
BuildRequires: gtk2-devel >= 2.4.0
|
||||
BuildRequires: gtkmm24-devel
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: libdnet-devel
|
||||
%endif
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXext-devel
|
||||
@ -74,6 +77,9 @@ export CFLAGS="$RPM_OPT_FLAGS -Wno-unused-local-typedefs"
|
||||
export CXXLAGS="$RPM_OPT_FLAGS -Wno-unused-local-typedefs"
|
||||
%configure \
|
||||
--without-kernel-modules \
|
||||
%if 0%{?rhel}
|
||||
--without-dnet \
|
||||
%endif
|
||||
--disable-static
|
||||
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
make %{?_smp_mflags}
|
||||
@ -154,6 +160,10 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service
|
||||
%{_libdir}/libvmtools.so
|
||||
|
||||
%changelog
|
||||
* Fri May 24 2013 Richard W.M. Jones <rjones@redhat.com> - 9.2.3-6
|
||||
- +BR gcc-c++. If this is missing it fails to build.
|
||||
- On RHEL, disable libdnet.
|
||||
|
||||
* Mon May 06 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.3-5
|
||||
- Renamed source file open-vm-tools.service -> vmtoolsd.service
|
||||
to match it with the service name
|
||||
|
Loading…
Reference in New Issue
Block a user