From cc76d9dc7ba7179b7e3d97587b7c2e080be925c722c1eb80995d97748b6801d0 Mon Sep 17 00:00:00 2001 From: Mike Latimer Date: Fri, 30 Oct 2015 18:36:04 +0000 Subject: [PATCH] Disable vgauth for SLES12 OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=323 --- open-vm-tools.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/open-vm-tools.spec b/open-vm-tools.spec index a2430bd..4e6fd5a 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -29,12 +29,15 @@ %endif # vgauth is enabled for openSUSE Factory, Leap 42.1 and SLES12SP1 (which include xml-security-c and xerces-c) -# but not openSUSE13.2 or below (which do not provide xml-security-c and xerces-c) -%if 0%{?suse_version} >= 1315 && 0%{?suse_version} != 1320 +%if 0%{?is_opensuse} && 0%{?suse_version} >= 1315 && 0%{?suse_version} != 1320 +%bcond_without vgauth +%else +%if 0%{?sle_version} >= 0120100 %bcond_without vgauth %else %bcond_with vgauth %endif +%endif # exclude AMD PCnet32 LANCE pci.id from Supplements list [bnc#397554] %define __find_supplements sh -c '/usr/lib/rpm/find-supplements %{name} | grep -v pci:v00001022d00002000'