Accepting request 930193 from GNOME:Factory

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

OBS-URL: https://build.opensuse.org/request/show/930193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk3?expand=0&rev=170
This commit is contained in:
Dominique Leuenberger 2021-11-10 20:46:06 +00:00 committed by Git OBS Bridge
commit a3ea3f8769
2 changed files with 7 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 16 01:55:10 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
- Remove obsolete translation-update-upstream support
(jsc#SLE-21105).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 2 01:03:32 UTC 2021 - Yifan Jiang <yfjiang@suse.com> Mon Aug 2 01:03:32 UTC 2021 - Yifan Jiang <yfjiang@suse.com>

View File

@ -1,5 +1,5 @@
# #
# spec file for package gtk3-doc # spec file
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 SUSE LLC
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands # 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 # libtool is needed since we are using a git checkout
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: translation-update-upstream
BuildRequires: xsltproc BuildRequires: xsltproc
BuildRequires: pkgconfig(atk) >= 2.15.1 BuildRequires: pkgconfig(atk) >= 2.15.1
BuildRequires: pkgconfig(atk-bridge-2.0) BuildRequires: pkgconfig(atk-bridge-2.0)
@ -380,16 +379,6 @@ This package contains the API documentation for GTK+ 3.x.
%prep %prep
%setup -q -n %{_name}-%{version} %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" %if "%{_lib}" == "lib64"
cp -a %{SOURCE1} . cp -a %{SOURCE1} .
%patch0 -p1 %patch0 -p1