diff --git a/gnumeric.changes b/gnumeric.changes index 83afddc..b224ca4 100644 --- a/gnumeric.changes +++ b/gnumeric.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 20 19:52:55 UTC 2021 - Stanislav Brabec + +- Remove obsolete translation-update-upstream support + (jsc#SLE-21105). + ------------------------------------------------------------------- Fri Jun 11 16:50:55 UTC 2021 - Bjørn Lie diff --git a/gnumeric.spec b/gnumeric.spec index bf44d0c..644ee19 100644 --- a/gnumeric.spec +++ b/gnumeric.spec @@ -36,7 +36,6 @@ BuildRequires: libtool BuildRequires: pkgconfig # Disable python3-devel BR for now, not supported yet. #BuildRequires: python3-devel -BuildRequires: translation-update-upstream BuildRequires: pkgconfig(gio-2.0) >= 2.38.0 BuildRequires: pkgconfig(glib-2.0) >= 2.38.0 BuildRequires: pkgconfig(gmodule-2.0) >= 2.38.0 @@ -132,16 +131,6 @@ Gnumeric is part of the GNOME project. %prep %autosetup -p1 -translation-update-upstream -translation-update-upstream po-functions gnumeric-functions -# remove incomplete translations caused by translation-update-upstream (global LINGUAS file, two domains) -for LNG in po/*.po ; do - LNG=`basename ${LNG%%.po}` - if ! test -f po-functions/$LNG.po ; then - echo "Removing incomplete $LNG from LINGUAS." - sed -i "/^$LNG\$/d" po/LINGUAS - fi -done %build export CFLAGS="%{optflags} -fno-strict-aliasing"