From 7fc13fc605757b752959fdca81a246c33d476f926f95b21b0e48c89cd2371a23 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 22 Mar 2018 09:40:55 +0000 Subject: [PATCH] Accepting request 589304 from home:dimstar:t-u-u t-u-u / boo#1086036 OBS-URL: https://build.opensuse.org/request/show/589304 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnumeric?expand=0&rev=156 --- gnumeric.changes | 7 +++++++ gnumeric.spec | 6 +----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gnumeric.changes b/gnumeric.changes index b951496..283b65d 100644 --- a/gnumeric.changes +++ b/gnumeric.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 20 17:14:28 UTC 2018 - dimstar@opensuse.org + +- Unconditionally enable translation-update-upstream: on + Tumbleweed, this results in a NOP and for Leap in SLE paid + translations being used (boo#1086036). + ------------------------------------------------------------------- Wed Mar 14 04:02:36 UTC 2018 - luc14n0@linuxmail.org diff --git a/gnumeric.spec b/gnumeric.spec index 7f966ef..3294157 100644 --- a/gnumeric.spec +++ b/gnumeric.spec @@ -34,6 +34,7 @@ BuildRequires: libgsf-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python-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 @@ -59,9 +60,6 @@ Provides: gnumeric2 = %{version} Obsoletes: gnumeric2 < %{version} %{perl_requires} %{?libperl_requires} -%if !0%{?is_opensuse} -BuildRequires: translation-update-upstream -%endif %description Gnumeric is a spreadsheet application with advanced features and @@ -132,7 +130,6 @@ Gnumeric is part of the GNOME project. %prep %setup -q -%if !0%{?is_opensuse} translation-update-upstream translation-update-upstream po-functions gnumeric-functions # remove incomplete translations caused by translation-update-upstream (global LINGUAS file, two domains) @@ -143,7 +140,6 @@ for LNG in po/*.po ; do sed -i "/^$LNG\$/d" po/LINGUAS fi done -%endif %build export CFLAGS="%{optflags} -fno-strict-aliasing"