Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package afl for openSUSE:Factory checked in 
at 2022-03-31 17:18:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/afl (Old)
 and      /work/SRC/openSUSE:Factory/.afl.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "afl"

Thu Mar 31 17:18:49 2022 rev:68 rq:966170 version:4.00c

Changes:
--------
--- /work/SRC/openSUSE:Factory/afl/afl.changes  2022-01-31 22:58:14.557209624 
+0100
+++ /work/SRC/openSUSE:Factory/.afl.new.1900/afl.changes        2022-03-31 
17:19:24.180788639 +0200
@@ -1,0 +2,7 @@
+Wed Feb 23 22:21:07 UTC 2022 - Aaron Puchert <[email protected]>
+
+- Fix build with armv7l on Leap: we have afl-llvm-rt-lto{,-32}.o.
+- Fix build with ppc64le: we don't seem to have the 32-bit object
+  files available there and there is also no gcc-32bit.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ afl.spec ++++++
--- /var/tmp/diff_new_pack.pq1Pfy/_old  2022-03-31 17:19:24.712782638 +0200
+++ /var/tmp/diff_new_pack.pq1Pfy/_new  2022-03-31 17:19:24.716782593 +0200
@@ -16,6 +16,25 @@
 #
 
 
+%ifarch riscv64
+%define afl_rt compiler-rt,llvm-rt
+%else
+%define afl_rt compiler-rt,llvm-rt,llvm-rt-lto
+%endif
+
+%ifarch %{arm} %ix86 s390x x86_64
+%define afl_32 1
+%endif
+%ifarch ppc64le
+%if %{pkg_vcmp clang < 12}
+%define afl_32 1
+%endif
+%endif
+
+%ifarch aarch64 ppc64 ppc64le riscv64 s390x x86_64
+%define afl_64 1
+%endif
+
 Name:           afl
 Version:        4.00c
 Release:        0
@@ -82,25 +101,16 @@
 %dir %{_libexecdir}/%{name}
 %{_libexecdir}/%{name}/%{name}-as
 %{_libexecdir}/%{name}/as
-%ifarch x86_64 aarch64 ppc64 ppc64le s390x riscv64
-%{_libexecdir}/%{name}/afl-compiler-rt-64.o
-%{_libexecdir}/%{name}/afl-llvm-rt-64.o
-%ifnarch riscv64
-%{_libexecdir}/%{name}/afl-llvm-rt-lto-64.o
+%if 0%{?afl_64}
+%{_libexecdir}/%{name}/afl-{%{afl_rt}}-64.o
 %endif
+%if 0%{?afl_32}
+%{_libexecdir}/%{name}/afl-{%{afl_rt}}-32.o
 %endif
-%ifarch %ix86 %{arm} s390x ppc64le x86_64
-%{_libexecdir}/%{name}/afl-compiler-rt-32.o
-%{_libexecdir}/%{name}/afl-llvm-rt-32.o
-%endif
-%ifarch %ix86 aarch64 s390x ppc64le x86_64
+%ifarch aarch64
 %{_libexecdir}/%{name}/afl-llvm-rt-lto-32.o
 %endif
-%{_libexecdir}/%{name}/afl-compiler-rt.o
-%{_libexecdir}/%{name}/afl-llvm-rt.o
-%ifnarch %{arm} riscv64
-%{_libexecdir}/%{name}/afl-llvm-rt-lto.o
-%endif
+%{_libexecdir}/%{name}/afl-{%{afl_rt}}.o
 %{_libexecdir}/%{name}/dynamic_list.txt
 %{_libexecdir}/%{name}/*.so
 %{_libexecdir}/%{name}/*.a

Reply via email to