Deno (/ˈdiːnoʊ/, pronounced dee-no) is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults and a great developer experience. diff --git a/anda/devs/deno/rust-deno.spec b/anda/devs/deno/rust-deno.spec index 69f9c8a002..5beac2feff 100644 --- a/anda/devs/deno/rust-deno.spec +++ b/anda/devs/deno/rust-deno.spec @@ -1,12 +1,13 @@ %undefine __brp_mangle_shebangs # Generated by rust2rpm 27 %bcond check 0 - +%global appid land.deno.deno +%global appstream_component runtime %global crate deno Name: rust-deno Version: 2.5.6 -Release: 2%?dist +Release: 3%?dist Summary: Deno executable License: MIT @@ -44,7 +45,7 @@ License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) %license LICENSE.md %license LICENSE.dependencies %doc README.md -%{_metainfodir}/land.deno.deno.metainfo.xml +%{_metainfodir}/%{appid}.metainfo.xml %{_bindir}/deno %pkg_completion -Bfzn %crate @@ -56,6 +57,7 @@ License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) cp %{S:1} . cp %{S:2} gcc + %global __cc %_builddir/%buildsubdir/gcc sed '/\[env\]/a CC="%__cc"' -i .cargo/config @@ -71,4 +73,4 @@ target/rpm/deno completions bash > %buildroot%bash_completions_dir/deno %dnl target/rpm/deno completions elvish > %buildroot%elvish_completions_dir/deno.elv target/rpm/deno completions fish > %buildroot%fish_completions_dir/deno.fish target/rpm/deno completions zsh > %buildroot%zsh_completions_dir/_deno -install -Dm644 %{S:3} -t %buildroot%{_metainfodir} +%terra_appstream -o %{SOURCE3}