From 62f13e9524effdf01dc8092bc9e91a99d52e591a Mon Sep 17 00:00:00 2001 From: june-fish Date: Mon, 18 May 2026 16:54:11 -0500 Subject: [PATCH] use electron macros --- anda/apps/legcord/stable/legcord.spec | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/anda/apps/legcord/stable/legcord.spec b/anda/apps/legcord/stable/legcord.spec index 445ae3002e..3d81c405c7 100644 --- a/anda/apps/legcord/stable/legcord.spec +++ b/anda/apps/legcord/stable/legcord.spec @@ -1,17 +1,8 @@ -%define debug_package %nil - -# Exclude private libraries -%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$ -%ifnarch aarch64 -%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\aarch64*\\.so.*))$ -%elifarch aarch64 -%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\x86_64*\\.so.*)|(.*\\x86-64*\\.so.*))$ -%endif - Name: legcord +%electronmeta -D Version: 1.2.4 Release: 1%{?dist} -License: OSL-3.0 +License: OSL-3.0 AND %{electron_license} Summary: Custom lightweight Discord client designed to enhance your experience URL: https://github.com/Legcord/Legcord Group: Applications/Internet @@ -30,9 +21,8 @@ while keeping everything lightweight. %git_clone %url v%version %build -pnpm install -pnpm run build -pnpm run package --linux AppImage tar.gz +%pnpm_build +%{__pnpm} run package --linux AppImage tar.gz %install mkdir -p %{buildroot}%{_datadir}/legcord @@ -72,6 +62,9 @@ desktop-file-install --set-key=Exec --set-value="%{_datadir}/legcord/legcord %U" %{_iconsdir}/hicolor/1024x1024/apps/legcord.png %changelog +* Mon May 18 2026 june-fish - 1.2.4-1 +- Use electron macros + * Mon Oct 21 2024 madonuko - 1.0.2-2 - Rename to LegCord.