Accepting request 589993 from GNOME:Factory

t-u-u / boo#1086036 (forwarded request 589303 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/589993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2?expand=0&rev=166
This commit is contained in:
Dominique Leuenberger 2018-03-26 10:43:52 +00:00 committed by Git OBS Bridge
commit 0b5e4a8f14
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 20 17:13:36 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 Feb 26 11:30:07 UTC 2018 - dimstar@opensuse.org

View File

@ -66,6 +66,7 @@ BuildRequires: libtiff-devel
BuildRequires: libtool
BuildRequires: pango-devel
BuildRequires: pkgconfig
BuildRequires: translation-update-upstream
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcomposite)
@ -77,9 +78,6 @@ BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xrandr) >= 1.2.99
BuildRequires: pkgconfig(xrender)
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
%description
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
@ -303,7 +301,6 @@ This package contains the development files for GTK+ 2.x.
%prep
%setup -q -n %{_name}-%{version}
%if !0%{?is_opensuse}
translation-update-upstream
translation-update-upstream po-properties gtk20-properties
# remove incomplete translations caused by translation-update-upstream (global LINGUAS file, two domains)
@ -314,7 +311,6 @@ for LNG in po/*.po ; do
sed -i "/^$LNG\$/d" po/LINGUAS
fi
done
%endif
gnome-patch-translation-prepare
%if "%{_lib}" == "lib64"
cp -a %{SOURCE2} .