From d6a93edab9b931e840d0435c1cba352b8d4bc317549790f1460a056fd40efd6c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 20 Sep 2021 10:07:05 +0000 Subject: [PATCH] Accepting request 919957 from home:sbrabec:branches:tuu-goodbye - Remove obsolete translation-update-upstream support (jsc#SLE-21105). OBS-URL: https://build.opensuse.org/request/show/919957 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=404 --- gtk3.changes | 6 ++++++ gtk3.spec | 13 +------------ 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/gtk3.changes b/gtk3.changes index a7a19af..b4783fe 100644 --- a/gtk3.changes +++ b/gtk3.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 16 01:55:10 UTC 2021 - Stanislav Brabec + +- Remove obsolete translation-update-upstream support + (jsc#SLE-21105). + ------------------------------------------------------------------- Mon Aug 2 01:03:32 UTC 2021 - Yifan Jiang diff --git a/gtk3.spec b/gtk3.spec index 405b733..4effb9f 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -1,5 +1,5 @@ # -# spec file for package gtk3-doc +# spec file # # Copyright (c) 2021 SUSE LLC # Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands @@ -56,7 +56,6 @@ BuildRequires: hicolor-icon-theme # libtool is needed since we are using a git checkout BuildRequires: libtool BuildRequires: pkgconfig -BuildRequires: translation-update-upstream BuildRequires: xsltproc BuildRequires: pkgconfig(atk) >= 2.15.1 BuildRequires: pkgconfig(atk-bridge-2.0) @@ -380,16 +379,6 @@ This package contains the API documentation for GTK+ 3.x. %prep %setup -q -n %{_name}-%{version} -translation-update-upstream -translation-update-upstream po-properties gtk30-properties -# 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-properties/$LNG.po ; then - echo "Removing incomplete $LNG from LINGUAS." - sed -i "/^$LNG\$/d" po/LINGUAS - fi -done %if "%{_lib}" == "lib64" cp -a %{SOURCE1} . %patch0 -p1