From 9f12f136dccc104b37564d3fc0fa27a18d59d0e75dea7db908fe4de97e9d14dc Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 9 Apr 2021 14:34:50 +0000 Subject: [PATCH] Accepting request 884046 from home:Guillaume_G:branches:openSUSE:Factory:ARM - Fix packaging for aarch64 and %arm OBS-URL: https://build.opensuse.org/request/show/884046 OBS-URL: https://build.opensuse.org/package/show/devel:tools/afl?expand=0&rev=136 --- afl.changes | 5 +++++ afl.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/afl.changes b/afl.changes index 39a0fb1..a1ac93d 100644 --- a/afl.changes +++ b/afl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 9 12:25:49 UTC 2021 - Guillaume GARDET + +- Fix packaging for aarch64 and %arm + ------------------------------------------------------------------- Sat Apr 3 23:31:18 UTC 2021 - Niklas Haas diff --git a/afl.spec b/afl.spec index f964562..b953a0d 100644 --- a/afl.spec +++ b/afl.spec @@ -83,11 +83,15 @@ chmod -x %{buildroot}/%{_libexecdir}/%{name}/*.o %ifarch %ix86 %{arm} %{_libexecdir}/%{name}/afl-compiler-rt-32.o %{_libexecdir}/%{name}/afl-llvm-rt-32.o +%endif +%ifarch %ix86 aarch64 %{_libexecdir}/%{name}/afl-llvm-rt-lto-32.o %endif %{_libexecdir}/%{name}/afl-compiler-rt.o %{_libexecdir}/%{name}/afl-llvm-rt.o +%ifnarch %{arm} %{_libexecdir}/%{name}/afl-llvm-rt-lto.o +%endif %{_libexecdir}/%{name}/dynamic_list.txt %{_libexecdir}/%{name}/*.so %dir %{_datadir}/%{name}