diff --git a/diffoscope.spec b/diffoscope.spec index 851d3e8..ecbaa64 100644 --- a/diffoscope.spec +++ b/diffoscope.spec @@ -51,11 +51,13 @@ Patch0: 0001-tests-make-test_cbfs-test_listing-pass-on-Fedora.patch poppler-utils \ python3-debian \ python3-PyPDF2 \ + python3-magic \ + python3-tlsh \ + python3-libarchive-c \ enjarify \ gnumeric \ odt2txt \ - wabt \ - fpc + wabt # missing: # apktool @@ -67,23 +69,23 @@ Patch0: 0001-tests-make-test_cbfs-test_listing-pass-on-Fedora.patch coreboot-utils \ mono-devel %endif +%ifarch x86_64 i686 armv7hl +%global tools3 \ + fpc +%endif + -%global toolz %(echo "%tools %?tools2" | grep . | tr '\\n' ', ') +%global toolz %(echo "%tools %?tools2 %?tools3" | grep . | tr '\\n' ', ') BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-magic -BuildRequires: python3-libarchive-c BuildRequires: python3-docutils # for tests BuildRequires: python3-pytest BuildRequires: %toolz BuildRequires: help2man -Requires: python3-magic -Requires: python3-tlsh -Requires: python3-libarchive-c # libguestfs is not installable in koji right now, ffs. Let's only require is at end user systems. Requires: python3-libguestfs Recommends: %toolz