diff commited package against linked revision b1e675ecd55925f6ecb1f4058f4e88e1 Index: libgweather.changes =================================================================== --- libgweather.changes (revision b1e675ecd55925f6ecb1f4058f4e88e1) +++ libgweather.changes (revision 2d78842be3ed0bc8b4b1d30df242de92) @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Aug 31 17:53:10 CEST 2011 - sbrabec@suse.cz + +- Use new gnome-patch-translation features to simplify spec file. + +------------------------------------------------------------------- Thu Apr 22 15:21:28 CEST 2010 - sbrabec@suse.cz - Added support for gnome-patch-translation (bnc#583593). Index: libgweather.spec =================================================================== --- libgweather.spec (revision b1e675ecd55925f6ecb1f4058f4e88e1) +++ libgweather.spec (revision 2d78842be3ed0bc8b4b1d30df242de92) @@ -102,30 +102,12 @@ %prep %setup -q translation-update-upstream -# Note: These translations have no real domain. Use libgweather-locations as a unique id: -cd po-locations -./regen.sh -mv locations.pot libgweather-locations.pot -cd .. -translation-update-upstream po-locations libgweather-locations true -# gnome-patch-translation does not support non-standard directories yet: -mkdir -p ~/.t-u-u-temp$$ -trap "rm -r "~/".t-u-u-temp$$" 0 -ln -s /bin/true ~/.t-u-u-temp$$/intltool-update -mkdir -p t-u-u -cd t-u-u -ln -s ../po-locations po -ln -s ../gnome-patch-translation . -PATH="~/.t-u-u-temp$$:$PATH" gnome-patch-translation-prepare -cd .. +translation-update-upstream po-locations libgweather-locations "./regen.sh ; mv locations.pot libgweather-locations.pot" +gnome-patch-translation-prepare po-locations libgweather-locations "./regen.sh ; mv locations.pot libgweather-locations.pot" %patch1 -p1 %patch2 -p1 -cd po-locations -./regen.sh -mv locations.pot libgweather-locations.pot -cd ../t-u-u -PATH="~/.t-u-u-temp$$:$PATH" gnome-patch-translation-update -cd .. +gnome-patch-translation-update po-locations libgweather-locations "./regen.sh ; mv locations.pot libgweather-locations.pot" + %build %configure \