- use BuildRequires: gcc46 only in sles11sp2 or 12.1 to fix build

in 11.4

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=202
This commit is contained in:
Olaf Hering 2012-09-24 14:49:27 +00:00 committed by Git OBS Bridge
parent 17854f1c81
commit 2d142b8fff
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 24 16:41:58 CEST 2012 - ohering@suse.de
- use BuildRequires: gcc46 only in sles11sp2 or 12.1 to fix build
in 11.4
-------------------------------------------------------------------
Wed Sep 19 09:43:42 MDT 2012 - carnold@novell.com

View File

@ -26,7 +26,7 @@ ExclusiveArch: %ix86 x86_64
%define with_stubdom 1
# EFI requires gcc46 or newer
# its available in 12.1 or >= sles11sp2
%if %suse_version == 1140 || %suse_version == 1210 || %suse_version == 1110
%if %suse_version == 1210 || %suse_version == 1110
%define with_gcc46 1
%else
%define with_gcc46 0
@ -97,10 +97,10 @@ BuildRequires: gcc46
BuildRequires: libgcc46
BuildRequires: libgcc46-32bit
%endif
BuildRequires: glibc-32bit
BuildRequires: glibc-devel-32bit
BuildRequires: gcc-32bit
BuildRequires: gcc43-32bit
BuildRequires: glibc-32bit
BuildRequires: glibc-devel-32bit
%define max_cpus 256
%define pae_enabled n
%else