%global debug_package %{nil} Name: deno-bin Version: 2.3.5 Release: %autorelease Summary: A modern runtime for JavaScript and TypeScript License: MIT URL: https://github.com/denoland/deno Source0: https://github.com/denoland/deno/releases/download/v%{version}/deno-x86_64-unknown-linux-gnu.zip Source1: https://github.com/denoland/deno/releases/download/v%{version}/deno-aarch64-unknown-linux-gnu.zip Source2: https://raw.githubusercontent.com/denoland/deno/refs/tags/v%{version}/LICENSE.md ExclusiveArch: x86_64 aarch64 Requires: glibc Conflicts: deno %description %{summary}. %prep %ifarch x86_64 %setup -c -b 0 %endif %ifarch aarch64 %setup -c -b 1 %endif cp %{SOURCE2} ./ %install install -D --mode=755 deno "%{buildroot}%{_bindir}/deno" %files %license LICENSE.md %{_bindir}/deno %changelog %autochangelog