Accepting request 88045 from GNOME:Factory

Fixed translation-update-upstream support

OBS-URL: https://build.opensuse.org/request/show/88045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk2?expand=0&rev=112
This commit is contained in:
Lars Vogdt 2011-10-16 10:48:15 +00:00 committed by Git OBS Bridge
commit e2d7e5f7d7
2 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 14 17:20:07 CEST 2011 - sbrabec@suse.cz
- Fixed translation-update-upstream support (bnc#690180).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 31 09:52:22 CEST 2011 - vuntz@opensuse.org Wed Aug 31 09:52:22 CEST 2011 - vuntz@opensuse.org

View File

@ -300,9 +300,16 @@ This package contains the development files for GTK+ 2.x.
# Hacky workaround against broken tarball; the test will fail when it can be removed (see bgo#658039) # Hacky workaround against broken tarball; the test will fail when it can be removed (see bgo#658039)
test "x`wc -l tests/testtreeview.c`" = "x38 tests/testtreeview.c" test "x`wc -l tests/testtreeview.c`" = "x38 tests/testtreeview.c"
sed -i "s/\ttesttreeview\t//g" tests/Makefile.am sed -i "s/\ttesttreeview\t//g" tests/Makefile.am
# This breaks the build, so disabled for now (see bnc#690180) translation-update-upstream
#translation-update-upstream translation-update-upstream po-properties gtk20-properties
#translation-update-upstream po-properties gtk20-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
gnome-patch-translation-prepare gnome-patch-translation-prepare
%if "%_lib" == "lib64" %if "%_lib" == "lib64"
cp -a %{S:2} . cp -a %{S:2} .