# Generated by rust2rpm 28 %bcond check 1 # prevent library files from being installed %global cargo_install_lib 0 %global toolchain clang %global crate deno %global debug_package %{nil} Name: rust-%{crate} Version: 2.6.10 Release: 1%{?dist} Summary: Deno executable License: MIT URL: https://crates.io/crates/deno Source: %{crates_source} Source: deno-2.6.10-vendor.tar.xz # Automatically generated patch to strip dependencies and normalize metadata Patch: deno-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 26 BuildRequires: clang-devel BuildRequires: compiler-rt BuildRequires: cmake BuildRequires: llvm-devel BuildRequires: python3-devel BuildRequires: pkgconfig(sqlite3) >= 3.34.1 %global _description %{expand: Provides the deno executable.} %description %{_description} %package -n %{crate} Summary: %{summary} License: MIT %description -n %{crate} %{_description} %files -n %{crate} %license tsc/dts/node/LICENSE %license tsc/dts/node/undici/LICENSE %license LICENSE.dependencies %license cargo-vendor.txt %doc README.md %{_bindir}/deno %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install %cargo_install # %%if %{with check} # %%check # %%cargo_test # %%endif %changelog * Mon Feb 23 2026 Hazel Bunny - 2.6.10 - Initial package