From 1826ecdb57fc3747ee90d7571fd3e6b0e39e573e Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 20 Jan 2026 19:02:30 -0800 Subject: [PATCH] chore (neohtop): use new macros (#9390) (#9413) --- anda/apps/neohtop/neohtop.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/anda/apps/neohtop/neohtop.spec b/anda/apps/neohtop/neohtop.spec index ea95bc5d8a..be5607c10b 100644 --- a/anda/apps/neohtop/neohtop.spec +++ b/anda/apps/neohtop/neohtop.spec @@ -12,9 +12,7 @@ Source1: NeoHtop.desktop Source2: com.github.neohtop.metainfo.xml Packager: Owen Zimmerman BuildRequires: rust -BuildRequires: nodejs-npm -BuildRequires: webkit2gtk4.1-devel -BuildRequires: javascriptcoregtk4.1-devel +BuildRequires: %tauri_buildrequires BuildRequires: libsoup3-devel BuildRequires: gtk3-devel BuildRequires: rust-gdk-pixbuf-sys-devel @@ -31,10 +29,10 @@ Provides: NeoHtop %prep %autosetup -n neohtop-%version +%tauri_prep %build -npm install -npm run tauri build +%npm_build -B %install install -Dpm755 src-tauri/target/release/NeoHtop %{buildroot}%{_bindir}/NeoHtop @@ -47,7 +45,7 @@ install -Dpm644 src-tauri/icons/128x128.png %{buildroot}%{_hicolordir}/128x %terra_appstream -o %{SOURCE2} %check -desktop-file-validate %{buildroot}%{_appsdir}/NeoHtop.desktop +%__desktop_file_validate %{buildroot}%{_appsdir}/NeoHtop.desktop %files %doc README.md