Accepting request 920416 from home:sbrabec:branches:tuu-goodbye

- Remove obsolete translation-update-upstream support
  (jsc#SLE-21105).

OBS-URL: https://build.opensuse.org/request/show/920416
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnumeric?expand=0&rev=183
This commit is contained in:
Dominique Leuenberger 2021-09-21 07:45:55 +00:00 committed by Git OBS Bridge
parent f4f5b35241
commit a0125171d8
2 changed files with 6 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 20 19:52:55 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
-------------------------------------------------------------------
Fri Jun 11 16:50:55 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -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"