## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec # Generated by rust2rpm 27 %global crate deno Name: rust-deno Version: 2.7.14 Release: 2%{?dist} Summary: Deno executable License: MIT URL: https://crates.io/crates/deno Source0: %{crates_source} Source1: deno-%{version}-vendor.tar.xz Source2: https://raw.githubusercontent.com/denoland/deno/refs/tags/v%version/LICENSE.md Source3: vendor.toml BuildRequires: cargo-rpm-macros %global _description %{expand: Provides the deno executable.} %description %{_description} %package -n %{crate} Summary: %{summary} License: %{shrink: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-DFS-2016) AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 AND ISC) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (BSD-3-Clause OR MIT) AND BSL-1.0 AND CC0-1.0 AND ISC AND (ISC AND (Apache-2.0 OR ISC)) AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND MIT AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR BSD-1-Clause) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND MPL-2.0+ AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) } # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE.md %license LICENSE.dependencies %license cargo-vendor.txt %doc README.md %{_bindir}/deno %{bash_completions_dir}/deno %{zsh_completions_dir}/_deno %{fish_completions_dir}/deno.fish %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -N cp %{S:2} . # Include full configuration for vendored dependencies cat %{S:3} >> .cargo/config.toml %build # Disable the upgrade feature and vendor zlib %{cargo_build} --no-default-features %{cargo_vendor_manifest} %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %crate_install_bin target/rpm/deno completions bash | \ install -Dvm644 /dev/stdin %{buildroot}%{bash_completions_dir}/deno target/rpm/deno completions zsh | \ install -Dvm644 /dev/stdin %{buildroot}%{zsh_completions_dir}/_deno target/rpm/deno completions fish | \ install -Dvm644 /dev/stdin %{buildroot}%{fish_completions_dir}/deno.fish %changelog ## START: Generated by rpmautospec * Fri May 22 2026 John Doe - 2.7.14-1 - Uncommitted changes ## END: Generated by rpmautospec