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
This commit is contained in:
parent
adc8374e45
commit
d6a93edab9
@ -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>
|
||||
|
||||
|
13
gtk3.spec
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user