From 82d6e39263c93ef20f309828cdf0c44e3809b3ee Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sep 28 2023 16:47:51 +0000 Subject: Fix build with gettext-0.22 This has been fixed upstream for 3.4 over a span of commits, some of which include other translation updates that do not apply to this version, so using patches is not practical. Resolves: rhbz#2225711 --- diff --git a/audacity.spec b/audacity.spec index c879732..cfda82f 100644 --- a/audacity.spec +++ b/audacity.spec @@ -147,6 +147,9 @@ For the most up to date manual content, use the on-line manual. %endif %patch -P6 -p1 +# fix building translations with gettext-0.22 (#2225711), fixed in 3.4 +sed -i -e 's|%hs|%s|g' locale/*.po + %build %if 0%{?rhel} == 7 export WX_CONFIG=wx-config-3.0