diff --git a/open-vm-tools.changes b/open-vm-tools.changes index ea1231d..f5e0c70 100644 --- a/open-vm-tools.changes +++ b/open-vm-tools.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Feb 13 17:23:20 UTC 2018 - dimstar@opensuse.org + +- Stop depending on the meta-package xorg-x11-devel as + BuildRequires, but use the explicit module names configure is + looking for: pkgconfig(sm), pkgconfig(xcomposite), + pkgconfig(xext), pkgconfig(xi), pkgconfig(xinerama), + pkgconfig(xrandr), pkgconfig(xrender) and pkgconfig(xtst). + ------------------------------------------------------------------- Thu Dec 21 00:40:51 UTC 2017 - mlatimer@suse.com diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 5878910..d9f0c3e 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -1,7 +1,7 @@ # # spec file for package open-vm-tools # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands. # # All modifications and additions to the file contributed by third parties @@ -98,7 +98,18 @@ BuildRequires: pam-devel BuildRequires: pcre-devel BuildRequires: procps-devel BuildRequires: update-desktop-files +%if 0%{?suse_version} >= 1330 +BuildRequires: pkgconfig(sm) +BuildRequires: pkgconfig(xcomposite) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xi) +BuildRequires: pkgconfig(xinerama) +BuildRequires: pkgconfig(xrandr) +BuildRequires: pkgconfig(xrender) +BuildRequires: pkgconfig(xtst) +%else BuildRequires: xorg-x11-devel +%endif %if %{with vgauth} # vgauth requires xerces-c and xml-security-c BuildRequires: xml-security-c-devel