From 6dce3316da10584d93060e8979fe2ef2d0413e86754c6e009c8b5c35b319daea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 30 Sep 2011 12:01:45 +0000 Subject: [PATCH 1/2] Accepting request 85790 from home:rmax:branches:devel:tools:compiler Fix and speedup build on ARM OBS-URL: https://build.opensuse.org/request/show/85790 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/flex?expand=0&rev=7 --- flex.changes | 6 ++++++ flex.spec | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/flex.changes b/flex.changes index 2e73dd0..d21a16e 100644 --- a/flex.changes +++ b/flex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 30 11:13:00 UTC 2011 - max@suse.com + +- Skip the test suite when building in qemu userspace emulation + to fix and speedup build on ARM. + ------------------------------------------------------------------- Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de diff --git a/flex.spec b/flex.spec index 249ef84..f067d29 100644 --- a/flex.spec +++ b/flex.spec @@ -1,7 +1,7 @@ # -# spec file for package flex (Version 2.5.35) +# spec file for package flex # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: flex BuildRequires: bison gcc-c++ help2man Url: http://flex.sourceforge.net/ @@ -62,7 +64,9 @@ autoreconf -fi make %{?_smp_mflags} %check +%if !%qemu_user_space_build make check +%endif %install make install DESTDIR=$RPM_BUILD_ROOT From 74f908f1a17389353cffc1a2c57681ab65b5a264bca7db0dbff4650a3543930d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 3 Oct 2011 17:47:23 +0000 Subject: [PATCH 2/2] Accepting request 86264 from openSUSE:Factory:ARM - fix compile failure outside ARM OBS-URL: https://build.opensuse.org/request/show/86264 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/flex?expand=0&rev=8 --- flex.changes | 5 +++++ flex.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/flex.changes b/flex.changes index d21a16e..10db9e3 100644 --- a/flex.changes +++ b/flex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 3 17:09:45 CEST 2011 - dmueller@suse.de + +- fix compile failure outside ARM + ------------------------------------------------------------------- Fri Sep 30 11:13:00 UTC 2011 - max@suse.com diff --git a/flex.spec b/flex.spec index f067d29..44b1699 100644 --- a/flex.spec +++ b/flex.spec @@ -64,7 +64,7 @@ autoreconf -fi make %{?_smp_mflags} %check -%if !%qemu_user_space_build +%if !0%{?qemu_user_space_build:1} make check %endif