From cb23cbfef2b366a68ab182c09c53ec13cf9c962ce2e757c0be304efd646b6df9 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Thu, 22 Mar 2018 09:44:00 +0000
Subject: [PATCH] Accepting request 589340 from home:dimstar:t-u-u

t-u-u / boo#1086036

OBS-URL: https://build.opensuse.org/request/show/589340
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gedit?expand=0&rev=221
---
 gedit.changes | 7 +++++++
 gedit.spec    | 6 +-----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/gedit.changes b/gedit.changes
index 2d43ad4..1b4b28b 100644
--- a/gedit.changes
+++ b/gedit.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Tue Mar 20 17:33:14 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).
+
 -------------------------------------------------------------------
 Mon Mar 12 16:10:39 UTC 2018 - dimstar@opensuse.org
 
diff --git a/gedit.spec b/gedit.spec
index 7094e45..e0788d6 100644
--- a/gedit.spec
+++ b/gedit.spec
@@ -38,6 +38,7 @@ BuildRequires:  intltool >= 0.50.1
 BuildRequires:  iso-codes-devel
 BuildRequires:  pkgconfig
 BuildRequires:  python3-base >= 3.2.3
+BuildRequires:  translation-update-upstream
 BuildRequires:  yelp-tools
 BuildRequires:  pkgconfig(gio-2.0) >= 2.44
 BuildRequires:  pkgconfig(glib-2.0) >= 2.44
@@ -61,9 +62,6 @@ Recommends:     %{name}-lang
 Recommends:     iso-codes
 Provides:       gedit2 = %{version}
 Obsoletes:      gedit2 < %{version}
-%if !0%{?is_opensuse}
-BuildRequires:  translation-update-upstream
-%endif
 %if %{with python_bindings}
 # See bnc#847114 - plugins generally depend on it
 Requires:       python3-gedit
@@ -108,9 +106,7 @@ This subpackage contains the header files for creating gedit plugins.
 
 %prep
 %autosetup -p1
-%if !0%{?is_opensuse}
 translation-update-upstream
-%endif
 
 %build
 %configure \