Hello community,

here is the log from the commit of package afl for openSUSE:Factory checked in 
at 2018-08-31 10:48:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/afl (Old)
 and      /work/SRC/openSUSE:Factory/.afl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "afl"

Fri Aug 31 10:48:01 2018 rev:40 rq:632354 version:2.52b

Changes:
--------
--- /work/SRC/openSUSE:Factory/afl/afl.changes  2017-11-07 10:01:22.142964702 
+0100
+++ /work/SRC/openSUSE:Factory/.afl.new/afl.changes     2018-08-31 
10:48:01.391463775 +0200
@@ -1,0 +2,5 @@
+Thu Aug 30 15:03:49 UTC 2018 - Guillaume GARDET <[email protected]>
+
+- Fix build on non X86* platforms
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ afl.spec ++++++
--- /var/tmp/diff_new_pack.ZYtEr4/_old  2018-08-31 10:48:01.999464526 +0200
+++ /var/tmp/diff_new_pack.ZYtEr4/_new  2018-08-31 10:48:01.999464526 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package afl
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,6 @@
 Source1:        afl-rpmlintrc
 Patch1:         afl-1.58b-fix-paths.patch
 BuildRequires:  gcc-c++
-ExclusiveArch:  i586 x86_64
 
 %description
 American fuzzy lop is a security-oriented fuzzer that employs a novel type
@@ -51,9 +50,15 @@
 
 %build
 export CFLAGS="$CFLAGS %{optflags}"
+%ifnarch %{ix86} x86_64
+export AFL_NO_X86=1
+%endif
 make %{?_smp_mflags} PREFIX=%{_prefix} LIBEXEC_DIR=%{_libexecdir} 
DOC_DIR=%{_docdir}
 
 %install
+%ifnarch %{ix86} x86_64
+export AFL_NO_X86=1
+%endif
 make %{?_smp_mflags} PREFIX=%{_prefix} LIBEXEC_DIR=%{_libexecdir} 
DOC_DIR=%{_docdir} DESTDIR=%{buildroot} install
 
 %files


Reply via email to