Hello community, here is the log from the commit of package gnome-games checked in at Mon Sep 10 13:08:36 CEST 2007. -------- --- GNOME/gnome-games/gnome-games.changes 2007-08-31 17:36:34.000000000 +0200 +++ /mounts/work_src_done/STABLE/gnome-games/gnome-games.changes 2007-09-10 12:50:15.394471000 +0200 @@ -1,0 +2,5 @@ +Fri Sep 7 13:47:56 CEST 2007 - sbrabec@suse.cz + +- Fixed %post to correctly update scores (#309145). + +------------------------------------------------------------------- New: ---- gnome-games-create-post ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-games.spec ++++++ --- /var/tmp/diff_new_pack.a29765/_old 2007-09-10 13:08:29.000000000 +0200 +++ /var/tmp/diff_new_pack.a29765/_new 2007-09-10 13:08:29.000000000 +0200 @@ -15,10 +15,11 @@ License: GPL v2 or later, LGPL v2 or later Group: System/GUI/GNOME Version: 2.19.91.1 -Release: 1 +Release: 6 Summary: Games for the GNOME 2.x Desktop Source: %{name}-%{version}.tar.bz2 Source1: permissions.tar.bz2 +Source2: %{name}-create-post Patch1: %{name}-desktop.patch URL: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -41,6 +42,7 @@ %lang_package %prep %setup -q +cp -a %{S:2} . %patch1 -p1 %if %suse_version <= 1020 %setup -T -D 0 -b 1 @@ -55,6 +57,7 @@ %install %makeinstall +bash gnome-games-create-post $RPM_BUILD_ROOT %suse_update_desktop_file -G "Blackjack" -C "Play the casino card game Blackjack" blackjack %suse_update_desktop_file -N "FreeCell" -G "Solitaire" -C "Play the popular FreeCell card game" -D aisleriot freecell %suse_update_desktop_file -G "Puzzle Game" -C "Remove colored balls from the board by forming lines" glines @@ -92,11 +95,13 @@ %find_lang %{name} %find_lang aisleriot %{name}.lang %find_lang blackjack %{name}.lang +%find_lang glchess %{name}.lang %find_lang glines %{name}.lang %find_lang gnect %{name}.lang %find_lang gnibbles %{name}.lang %find_lang gnobots2 %{name}.lang %find_lang gnometris %{name}.lang +%find_lang gnome-sudoku %{name}.lang %find_lang gnomine %{name}.lang %find_lang gnotravex %{name}.lang %find_lang gnotski %{name}.lang @@ -107,6 +112,7 @@ %find_gconf_schemas cat %{name}.schemas_list >%{name}.lst #rm $RPM_BUILD_ROOT%{_libdir}/*/*/*.*a +# Create post scriptlet for updsating scores. %fdupes $RPM_BUILD_ROOT @@ -118,28 +124,14 @@ %pre -f %{name}.schemas_pre -%post +%post -f %{name}.scores_post /sbin/ldconfig %run_permissions -if [ -f var/games/gnomine.Tiny.scores -a ! -f var/games/gnomine.Small.scores ] -then - mv -f var/games/gnomine.Tiny.scores var/games/gnomine.Small.scores -fi -if [ -f var/games/gnomine.Biiiig.scores -a ! -f var/games/gnomine.Large.scores ] -then - mv -f var/games/gnomine.Biiiig.scores var/games/gnomine.Large.scores -fi # Remove obsolete scores. -rm -f var/games/iagno.b[1-3].scores var/games/iagno.w[1-3].scores var/games/gnotski.38.scores var/games/gnotski.39.scores -for i in glines.scores gnibbles.1.0.scores gnibbles.1.1.scores gnibbles.2.0.scores gnibbles.2.1.scores gnibbles.3.0.scores gnibbles.3.1.scores gnibbles.4.0.scores gnibbles.4.1.scores gnobots2.classic_robots-safe.scores gnobots2.classic_robots-super-safe.scores gnobots2.classic_robots.scores gnobots2.nightmare-safe.scores gnobots2.nightmare-super-safe.scores gnobots2.nightmare.scores gnobots2.robots2-safe.scores gnobots2.robots2-super-safe.scores gnobots2.robots2.scores gnobots2.robots2_easy-safe.scores gnobots2.robots2_easy-super-safe.scores gnobots2.robots2_easy.scores gnobots2.robots_with_safe_teleport-safe.scores gnobots2.robots_with_safe_teleport-super-safe.scores gnobots2.robots_with_safe_teleport.scores gnome-stones.scores gnometris.scores gnomine.Custom.scores gnomine.Large.scores gnomine.Medium.scores gnomine.Small.scores gnotravex.2x2.scores gnotravex.3x3.scores gnotravex.4x4.scores gnotravex.5x5.scores gnotravex.6x6.scores gnotski.1.scores gnotski.11.scores gnotski.12.scores gnotski.13.scores gnotski.14.scores gnotski.15.scores gnotski.16.scores gnotski.17.scores gnotski.2.scores gnotski.21.scores gnotski.22.scores gnotski.23.scores gnotski.24.scores gnotski.25.scores gnotski.26.scores gnotski.3.scores gnotski.4.scores gnotski.5.scores gnotski.6.scores gnotski.7.scores gtali.scores mahjongg.difficult.scores mahjongg.easy.scores same-gnome.scores mahjongg.bridges.scores mahjongg.cloud.scores mahjongg.confounding.scores mahjongg.dragon.scores mahjongg.pyramid.scores mahjongg.tictactoe.scores -do - if [ ! -r $i ] - then - touch var/games/$i - fi - chown games:games var/games/$i - chmod 664 var/games/$i -done +# Obsolete since 10.0&SLED10: +rm -f var/games/gnotski.38.scores var/games/gnotski.39.scores +# Obsolete since 10.3&SLED11: +rm -f var/games/games/gnome-stones.scores %verifyscript %verify_permissions -f %{_datadir}/gnome-games/sgidlist @@ -211,38 +203,6 @@ %{_datadir}/icons/hicolor/*/apps/*.svg %{_datadir}/glchess/*.* %{_datadir}/gnome-sudoku/* -%dir %{_datadir}/gnome/help/glchess -%dir %{_datadir}/gnome/help/glchess/C -%dir %{_datadir}/gnome/help/glchess/es -%dir %{_datadir}/gnome/help/glchess/fr -%dir %{_datadir}/gnome/help/glchess/sv -%dir %{_datadir}/gnome/help/glchess/oc -%{_datadir}/gnome/help/glchess/C/*.* -%{_datadir}/gnome/help/glchess/es/*.* -%{_datadir}/gnome/help/glchess/fr/*.* -%{_datadir}/gnome/help/glchess/sv/*.* -%{_datadir}/gnome/help/glchess/oc/*.* -%dir %{_datadir}/gnome/help/gnome-sudoku -%dir %{_datadir}/gnome/help/gnome-sudoku/C -%dir %{_datadir}/gnome/help/gnome-sudoku/C/figures -%{_datadir}/gnome/help/gnome-sudoku/C/*.* -%{_datadir}/gnome/help/gnome-sudoku/C/figures/*.* -%dir %{_datadir}/gnome/help/gnome-sudoku/es -%dir %{_datadir}/gnome/help/gnome-sudoku/es/figures -%{_datadir}/gnome/help/gnome-sudoku/es/*.* -%{_datadir}/gnome/help/gnome-sudoku/es/figures/*.* -%dir %{_datadir}/gnome/help/gnome-sudoku/sv -%dir %{_datadir}/gnome/help/gnome-sudoku/sv/figures -%{_datadir}/gnome/help/gnome-sudoku/sv/*.* -%{_datadir}/gnome/help/gnome-sudoku/sv/figures/*.* -%dir %{_datadir}/gnome/help/gnome-sudoku/fr -%dir %{_datadir}/gnome/help/gnome-sudoku/fr/figures -%{_datadir}/gnome/help/gnome-sudoku/fr/*.* -%{_datadir}/gnome/help/gnome-sudoku/fr/figures/*.* -%dir %{_datadir}/gnome/help/gnome-sudoku/oc -%dir %{_datadir}/gnome/help/gnome-sudoku/oc/figures -%{_datadir}/gnome/help/gnome-sudoku/oc/*.* -%{_datadir}/gnome/help/gnome-sudoku/oc/figures/*.* %dir %{_datadir}/ggz %dir %{_datadir}/ggz/gnome-games %{_datadir}/ggz/gnome-games/*.png @@ -348,6 +308,8 @@ %files lang -f %{name}.lang %changelog +* Fri Sep 07 2007 - sbrabec@suse.cz +- Fixed %%post to correctly update scores (#309145). * Fri Aug 31 2007 - maw@suse.de - Update to version 2.19.91.1: (bug numbers are for bugzilla.gnome.org) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org