# We build against openSUSE:Factory/ports, which has it disabled otherwise ExpandFlags: preinstallexpand # distribution-release is not part of ftp-tree Prefer: openSUSE-release # new: use kernel-obs-build from aarch64 for aarch64 armv6 and armv7 %ifarch aarch64 ExportFilter: ^kernel-obs-build.* armv6l armv7l %endif %ifarch x86_64 ExportFilter: ^kernel-obs-build.* i586 riscv64 ExportFilter: ^qemu-linux-user.*\.x86_64\.rpm$ . riscv64 %endif %if "%_repository" == "dod" || "%_repository" == "dod_debug" Type: spec %endif %ifarch riscv64 Target: riscv64-suse-linux Hostarch: x86_64 Preinstall: qemu-linux-user Macros: %qemu_user_space_build 1 # Hack: increase default qemu stack size from 8MB to 64MB so that gcc # does not run out of stack space %_sudo /usr/bin/env QEMU_STACK_SIZE=64M :Macros %endif