From aa06091a42a501dceb2ed3b1a6b4cd442a7d9d51 Mon Sep 17 00:00:00 2001
From: Raboneko <119771935+raboneko@users.noreply.github.com>
Date: Mon, 17 Nov 2025 18:03:29 -0800
Subject: [PATCH] bun: fix logo (#7445) (#7447)
---
anda/devs/bun/bun-bin.spec | 8 +++++---
anda/devs/bun/sh.oven.bun.metainfo.xml | 4 ++--
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/anda/devs/bun/bun-bin.spec b/anda/devs/bun/bun-bin.spec
index 06c83a5d93..3f7f112921 100644
--- a/anda/devs/bun/bun-bin.spec
+++ b/anda/devs/bun/bun-bin.spec
@@ -5,15 +5,17 @@
%global a aarch64
%endif
+%global appid sh.oven.bun
+
Name: bun-bin
Version: 1.3.2
-Release: 2%?dist
+Release: 3%?dist
Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
License: MIT
URL: https://bun.sh
Source0: https://github.com/oven-sh/bun/releases/download/bun-v%version/bun-linux-%a.zip
Source1: sh.oven.bun.metainfo.xml
-BuildRequires: unzip
+BuildRequires: unzip anda-srpm-macros terra-appstream-helper
%description
%summary.
@@ -58,7 +60,7 @@ install -Dm644 bun.bash -t %buildroot%bash_completions_dir
install -Dm644 bun.fish -t %buildroot%fish_completions_dir
ln -s bun %buildroot%_bindir/bunx
-install -Dm644 %{SOURCE1} %buildroot%{_datadir}/metainfo/sh.oven.bun.metainfo.xml
+%terra_appstream -o %{SOURCE1}
%files
%license LICENSE
diff --git a/anda/devs/bun/sh.oven.bun.metainfo.xml b/anda/devs/bun/sh.oven.bun.metainfo.xml
index 9f8342be65..f8aa2cda17 100644
--- a/anda/devs/bun/sh.oven.bun.metainfo.xml
+++ b/anda/devs/bun/sh.oven.bun.metainfo.xml
@@ -3,10 +3,10 @@
sh.oven.bun
CC0-1.0
MIT
+ applications-development
Bun
- Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
+ Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one