zig/macros.zig
Jan200101 aa3606be7b
correct rpm macro once again
a space at the end of the line was escaped instead of going to the next line
2021-06-28 20:10:31 +02:00

23 lines
479 B
Zig

%zig_arches x86_64 aarch64 riscv64 %{mips64}
%_zig_version @@ZIG_VERSION@@
%zig /usr/bin/zig
%zig_build \
%zig \\\
build \\\
--verbose \\\
--cache-dir zig-cache
%zig_install \
DESTDIR="%{buildroot}" %zig_build \\\
install \\\
--prefix "%{_prefix}" \\\
--prefix-lib-dir "%{_libdir}" \\\
--prefix-exe-dir "%{_bindir}" \\\
--prefix-include-dir "%{_includedir}"
%zig_test \
%zig_build \\\
test