Build with gtk3 only on newer distros
This commit is contained in:
parent
3067b6d76e
commit
9c4eb55d20
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
Name: open-vm-tools
|
Name: open-vm-tools
|
||||||
Version: %{toolsversion}
|
Version: %{toolsversion}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?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
|
||||||
@ -50,7 +50,6 @@ 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: gtk3-devel >= 3.0.0
|
|
||||||
%if 0%{?fedora} >= 23 || 0%{?rhel} > 7
|
%if 0%{?fedora} >= 23 || 0%{?rhel} > 7
|
||||||
# F23 split gdk-pixbuf2-devel >= 2.31.3-5 into 3 packages,
|
# F23 split gdk-pixbuf2-devel >= 2.31.3-5 into 3 packages,
|
||||||
# gdk-pixbuf2-devel, gdk-pixbuf2-modules-devel, and
|
# 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. Therefore, we need to pull in
|
||||||
# gdk-pixbuf2-xlib-devel dependency ourselves.
|
# gdk-pixbuf2-xlib-devel dependency ourselves.
|
||||||
BuildRequires: gdk-pixbuf2-xlib-devel
|
BuildRequires: gdk-pixbuf2-xlib-devel
|
||||||
%endif
|
BuildRequires: gtk3-devel >= 3.0.0
|
||||||
BuildRequires: gtkmm30-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: libdnet-devel
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libmspack-devel
|
BuildRequires: libmspack-devel
|
||||||
@ -311,6 +314,9 @@ fi
|
|||||||
%{_bindir}/vmware-vgauth-smoketest
|
%{_bindir}/vmware-vgauth-smoketest
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 18 2017 Ravindra Kumar <ravindrakumar@vmware.com> - 10.2.0-2
|
||||||
|
- Build with gtk3 only on newer distros.
|
||||||
|
|
||||||
* Fri Dec 15 2017 Ravindra Kumar <ravindrakumar@vmware.com> - 10.2.0-1
|
* Fri Dec 15 2017 Ravindra Kumar <ravindrakumar@vmware.com> - 10.2.0-1
|
||||||
- Package new upstream version open-vm-tools-10.2.0-7253323.
|
- Package new upstream version open-vm-tools-10.2.0-7253323.
|
||||||
- Remove the patches that are no longer needed.
|
- Remove the patches that are no longer needed.
|
||||||
|
Loading…
Reference in New Issue
Block a user