From eb691d00767276ef90fa9e7c32871f84d9feec13 Mon Sep 17 00:00:00 2001 From: madonuko Date: Thu, 8 Aug 2024 18:45:07 +0800 Subject: [PATCH 1/2] fix: voicevox --- anda/apps/voicevox/voicevox.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anda/apps/voicevox/voicevox.spec b/anda/apps/voicevox/voicevox.spec index a37bc49568..4e04fd783a 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 @@ -28,7 +31,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 From b6df77e0771bea2955ab23623a3dd81c165b11cb Mon Sep 17 00:00:00 2001 From: madonuko Date: Thu, 8 Aug 2024 18:49:12 +0800 Subject: [PATCH 2/2] add myself as packager --- anda/apps/voicevox/voicevox.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/apps/voicevox/voicevox.spec b/anda/apps/voicevox/voicevox.spec index 4e04fd783a..580222b0d3 100644 --- a/anda/apps/voicevox/voicevox.spec +++ b/anda/apps/voicevox/voicevox.spec @@ -17,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