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:
commit
a3ea3f8769
@ -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>
|
||||||
|
|
||||||
|
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) 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
|
||||||
|
Loading…
Reference in New Issue
Block a user