%undefine _debugsource_packages Summary: A secure JavaScript and TypeScript runtime Name: deno Version: 2.1.1 Release: 1 License: MIT Group: Development/Language URL: https://github.com/denoland/deno Source0: https://codeload.github.com/denoland/deno/tar.gz/refs/tags/v%{version}#/%{name}-%{version}.tar.gz BuildRequires: rust %description Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. %prep %setup -q #sed -i 's|0.188.0|=0.187.0|' Cargo.toml %build export CFLAGS+=" -Wno-implicit-function-declaration" #cargo clean cargo update cargo build --release -j 1 %install #cargo install --root=%{buildroot}/usr --path=. install -Dm755 target/release/%{name} %{buildroot}%{_bindir}/%{name} %files %doc *.md %{_bindir}/%{name} %changelog * Fri Nov 22 2024 Wei-Lun Chao - 2.1.1 - Rebuilt for Fedora