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