Accepting request 89323 from GNOME:Apps
Fix build (forwarded request 89309 from vuntz) OBS-URL: https://build.opensuse.org/request/show/89323 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnumeric?expand=0&rev=60
This commit is contained in:
commit
9047c9a399
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 25 18:24:25 UTC 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Use a more generic hack in %setup to remove incomplete
|
||||||
|
translations created by translation-update-upstream. Should fix
|
||||||
|
build breakages created when translation-update-upstream is
|
||||||
|
updated and adds new translations.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 3 07:38:26 UTC 2011 - vuntz@opensuse.org
|
Mon Oct 3 07:38:26 UTC 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -95,24 +95,14 @@ Gnumeric is part of the GNOME project.
|
|||||||
%setup -q
|
%setup -q
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
translation-update-upstream po-functions gnumeric-functions
|
translation-update-upstream po-functions gnumeric-functions
|
||||||
# translation-update-upstream provides incomplete upstream translations
|
# remove incomplete translations caused by translation-update-upstream (global LINGUAS file, two domains)
|
||||||
# from the upstream git. Remove them until upstream provides a fix. See
|
for LNG in po/*.po ; do
|
||||||
# po/LINGUAS for more.
|
LNG=`basename ${LNG%%.po}`
|
||||||
if test -f po-functions/id.po ; then
|
if ! test -f po-functions/$LNG.po ; then
|
||||||
echo "\"id\" locale removal in gnumeric.spec is obsolete. Please remove it."
|
echo "Removing incomplete $LNG from LINGUAS."
|
||||||
else
|
sed -i "/^$LNG\$/d" po/LINGUAS
|
||||||
sed -i '/^id$/d' po/LINGUAS
|
fi
|
||||||
fi
|
done
|
||||||
if test -f po-functions/pa.po ; then
|
|
||||||
echo "\"pa\" locale removal in gnumeric.spec is obsolete. Please remove it."
|
|
||||||
else
|
|
||||||
sed -i '/^pa$/d' po/LINGUAS
|
|
||||||
fi
|
|
||||||
if test -f po-functions/zh_HK.po ; then
|
|
||||||
echo "\"zh_HK\" locale removal in gnumeric.spec is obsolete. Please remove it."
|
|
||||||
else
|
|
||||||
sed -i '/^zh_HK$/d' po/LINGUAS
|
|
||||||
fi
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
|
Loading…
Reference in New Issue
Block a user