From fce65e9353c67fe7f2ac8d14f8a01d6082c94e36 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 8 Aug 2024 06:48:00 -0700 Subject: [PATCH] fix: voicevox (#1850) (#1863) (cherry picked from commit 9c856fdf5922cde60d62529c5e1728e017042405) Co-authored-by: madomado --- anda/apps/voicevox/voicevox.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/anda/apps/voicevox/voicevox.spec b/anda/apps/voicevox/voicevox.spec index a37bc49568..580222b0d3 100644 --- a/anda/apps/voicevox/voicevox.spec +++ b/anda/apps/voicevox/voicevox.spec @@ -1,6 +1,9 @@ %define debug_package %nil %global _build_id_links none +# do not strip binaries +%define __strip /bin/true + # Exclude private libraries %global __requires_exclude libffmpeg.so %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so @@ -14,6 +17,7 @@ URL: https://voicevox.hiroshiba.jp Source0: https://github.com/VOICEVOX/voicevox/releases/download/%version/VOICEVOX.AppImage.7z.001 Source1: https://github.com/VOICEVOX/voicevox/releases/download/%version/VOICEVOX.AppImage.7z.002 Source2: https://github.com/VOICEVOX/voicevox/releases/download/%version/VOICEVOX.AppImage.7z.003 +Packager: madonuko BuildRequires: p7zip-plugins ExclusiveArch: x86_64 @@ -28,7 +32,7 @@ Summary: Documentation files for voicevox (Japanese) %prep cat< voicevox.sh -#!/bin/sh +#!/usr/bin/sh /usr/share/voicevox/VOICEVOX.AppImage EOF 7z x %SOURCE0