From e45a5b43ceeb5fffb5ffe27370e13d4ee8799c57 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 1 Jul 2025 06:45:21 -0700 Subject: [PATCH] fix(vpkedit): Build release instead of debug (#5724) (#5729) (cherry picked from commit 677918a7729d8565f9a0eee19e25eb093bf62c51) Signed-off-by: Gilver Co-authored-by: Gilver --- anda/apps/vpkedit/vpkedit.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/anda/apps/vpkedit/vpkedit.spec b/anda/apps/vpkedit/vpkedit.spec index 01a3e30b47..9798f67534 100644 --- a/anda/apps/vpkedit/vpkedit.spec +++ b/anda/apps/vpkedit/vpkedit.spec @@ -1,6 +1,6 @@ Name: vpkedit Version: 4.4.2 -Release: 2%?dist +Release: 3%?dist Summary: A CLI/GUI tool to create, read, and write several pack file formats License: MIT URL: https://github.com/craftablescience/VPKEdit @@ -27,7 +27,8 @@ new VPKs. %build %cmake -DCMAKE_INSTALL_PREFIX=%_libdir/%name \ - -DBUILD_SHARED_LIBS:BOOL=OFF + -DBUILD_SHARED_LIBS:BOOL=OFF \ + -DCMAKE_BUILD_TYPE=Release # -DVPKEDIT_BUILD_LIBC=ON %cmake_build @@ -35,7 +36,7 @@ new VPKs. %install %cmake_install pushd %buildroot%_libdir/%name -rm -rf libQt* +rm -rf {libQt*,*.md,LICENSE} popd ln -sf %_libdir/vpkedit/vpkedit %buildroot%_bindir/vpkedit ln -sf %_libdir/vpkedit/vpkeditcli %buildroot%_bindir/vpkeditcli