diff --git a/vdo.spec b/vdo.spec index 5cdc836d1ea9aba6e5722ebb605d59176faf0f27..f245f0caf4e32aaa965224c25f40e602de80f889 100644 --- a/vdo.spec +++ b/vdo.spec @@ -12,7 +12,10 @@ Patch0001: 0001-utils-fileUtils-Fix-null-string.patch Patch0002: 0002-Ignore-misaligned-pointers.patch BuildRequires: gcc libuuid-devel device-mapper-devel device-mapper-event-devel -BuildRequires: valgrind-devel python3 python3-devel zlib-devel systemd +BuildRequires: python3 python3-devel zlib-devel systemd +%ifarch %{valgrind_arches} + BuildRequires: valgrind-devel +%endif %{?systemd_requires} Requires: lvm2 >= 2.02 python3-PyYAML >= 3.10 libuuid >= 2.23 kmod-kvdo >= 6.2 util-linux >= 2.32.1 Provides: kvdo-kmod-common = %{version}