diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 83b3256..9c78987 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -28,7 +28,7 @@ Name: open-vm-tools Version: %{toolsversion} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open Virtual Machine Tools for virtual machines hosted on VMware Group: Applications/System License: GPLv2 @@ -50,7 +50,6 @@ BuildRequires: doxygen # Fuse is optional and enables vmblock-fuse BuildRequires: fuse-devel BuildRequires: glib2-devel >= 2.14.0 -BuildRequires: gtk3-devel >= 3.0.0 %if 0%{?fedora} >= 23 || 0%{?rhel} > 7 # F23 split gdk-pixbuf2-devel >= 2.31.3-5 into 3 packages, # gdk-pixbuf2-devel, gdk-pixbuf2-modules-devel, and @@ -58,8 +57,12 @@ BuildRequires: gtk3-devel >= 3.0.0 # gdk-pixbuf2-xlib-devel. Therefore, we need to pull in # gdk-pixbuf2-xlib-devel dependency ourselves. BuildRequires: gdk-pixbuf2-xlib-devel -%endif +BuildRequires: gtk3-devel >= 3.0.0 BuildRequires: gtkmm30-devel >= 3.0.0 +%else +BuildRequires: gtk2-devel >= 2.4.0 +BuildRequires: gtkmm24-devel +%endif BuildRequires: libdnet-devel BuildRequires: libicu-devel BuildRequires: libmspack-devel @@ -311,6 +314,9 @@ fi %{_bindir}/vmware-vgauth-smoketest %changelog +* Mon Dec 18 2017 Ravindra Kumar - 10.2.0-2 +- Build with gtk3 only on newer distros. + * Fri Dec 15 2017 Ravindra Kumar - 10.2.0-1 - Package new upstream version open-vm-tools-10.2.0-7253323. - Remove the patches that are no longer needed.