Hello community, here is the log from the commit of package gnome-games for openSUSE:Factory checked in at Mon May 9 09:51:37 CEST 2011. -------- --- GNOME/gnome-games/gnome-games.changes 2011-04-25 12:57:32.000000000 +0200 +++ /mounts/work_src_done/STABLE/gnome-games/gnome-games.changes 2011-05-06 10:33:42.000000000 +0200 @@ -1,0 +2,21 @@ +Thu May 5 19:47:34 CEST 2011 - vuntz@opensuse.org + +- Fix permissions handling for glines, gnibbles, gnobots2, + gnomine, gnotravex, gnotski, gtali, mahjongg and quadrapassel: + + Add permissions PreReq. + + Use %set_permissions on the binary instead of the deprecated + %run_permissions. + + Move %desktop_database_post and %icon_theme_cache_post to be in + %post and not %verifyscript. +- Fix PreReq that are used because of score files: + + Only /bin/chown /bin/chmod /usr/bin/touch are needed. + + Remove unneeded PreReq for /bin/rm from glines, gnibbles, + gnobots2, gnomine, gnotravex, gnotski, gtali, mahjongg. + + Add previously missing PreReq for /bin/chown /bin/chmod + /usr/bin/touch to quadrapassel. + + Remove all PreReq from swell-foop as there is no score file + there. +- Remove unneeded /bin/chown /bin/chmod /usr/bin/touch PreReq in + support subpackage as only rm is used in %post. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-games.spec ++++++ --- /var/tmp/diff_new_pack.r0zszz/_old 2011-05-09 09:49:24.000000000 +0200 +++ /var/tmp/diff_new_pack.r0zszz/_new 2011-05-09 09:49:24.000000000 +0200 @@ -21,7 +21,7 @@ Name: gnome-games Version: 3.0.0 -Release: 1 +Release: 3 # FIXME: validate list of games for the recommended subpackage License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Games for GNOME @@ -129,7 +129,7 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Games for GNOME - Shared files Group: Development/Libraries/GNOME -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch +PreReq: /bin/rm Recommends: %{name}-support-lang Suggests: gnome-games-extra-data %glib2_gsettings_schema_requires @@ -180,7 +180,8 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: "Five or More" Game for GNOME Group: Amusements/Games/Board/Puzzle -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch +PreReq: /bin/chown /bin/chmod /usr/bin/touch +PreReq: permissions Requires: %{name}-support = %{version} Recommends: glines-lang %gconf_schemas_prereq @@ -213,7 +214,8 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Worm Game for GNOME Group: Amusements/Games/Action/Arcade -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch +PreReq: /bin/chown /bin/chmod /usr/bin/touch +PreReq: permissions Requires: %{name}-support = %{version} Recommends: gnibbles-lang %gconf_schemas_prereq @@ -229,7 +231,8 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Robots Game for GNOME Group: Amusements/Games/Action/Arcade -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch +PreReq: /bin/chown /bin/chmod /usr/bin/touch +PreReq: permissions Requires: %{name}-support = %{version} Recommends: gnobots2-lang %gconf_schemas_prereq @@ -265,7 +268,8 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Minesweeper Game for GNOME Group: Amusements/Games/Board/Other -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch +PreReq: /bin/chown /bin/chmod /usr/bin/touch +PreReq: permissions Requires: %{name}-support = %{version} Recommends: gnomine-lang %gconf_schemas_prereq @@ -280,7 +284,8 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Tetravex Game for GNOME Group: Amusements/Games/Board/Puzzle -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch +PreReq: /bin/chown /bin/chmod /usr/bin/touch +PreReq: permissions Requires: %{name}-support = %{version} Recommends: gnotravex-lang %gconf_schemas_prereq @@ -297,7 +302,8 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Klotski Game for GNOME Group: Amusements/Games/Board/Puzzle -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch +PreReq: /bin/chown /bin/chmod /usr/bin/touch +PreReq: permissions Requires: %{name}-support = %{version} Recommends: gnotski-lang %gconf_schemas_prereq @@ -313,7 +319,8 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Yahtzee Game for GNOME Group: Amusements/Games/Board/Other -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch +PreReq: /bin/chown /bin/chmod /usr/bin/touch +PreReq: permissions Requires: %{name}-support = %{version} Recommends: gtali-lang %gconf_schemas_prereq @@ -365,7 +372,8 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Mahjong Solitaire Game for GNOME Group: Amusements/Games/Board/Puzzle -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch +PreReq: /bin/chown /bin/chmod /usr/bin/touch +PreReq: permissions Requires: %{name}-support = %{version} Recommends: mahjongg-lang %gconf_schemas_prereq @@ -381,6 +389,8 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Tetris Game for GNOME Group: Amusements/Games/Action/Other +PreReq: /bin/chown /bin/chmod /usr/bin/touch +PreReq: permissions Requires: %{name}-support = %{version} Recommends: quadrapassel-lang %gconf_schemas_prereq @@ -398,7 +408,6 @@ License: GPLv2+ ; GPLv3+ ; LGPLv2.1+ Summary: Same Game for GNOME Group: Amusements/Games/Board/Puzzle -PreReq: /bin/chown /bin/chmod /bin/rm /usr/bin/touch Requires: %{name}-support = %{version} Requires: seed Recommends: swell-foop-lang @@ -541,12 +550,13 @@ %pre -n glines -f glines.schemas_pre %post -n glines -f glines.scores_post -%run_permissions -%verifyscript -n glines -%verify_permissions -e %{_bindir}/glines +%set_permissions %{_bindir}/glines %desktop_database_post %icon_theme_cache_post +%verifyscript -n glines +%verify_permissions -e %{_bindir}/glines + %posttrans -n glines -f glines.schemas_posttrans %preun -n glines -f glines.schemas_preun @@ -574,12 +584,13 @@ %pre -n gnibbles -f gnibbles.schemas_pre %post -n gnibbles -f gnibbles.scores_post -%run_permissions -%verifyscript -n gnibbles -%verify_permissions -e %{_bindir}/gnibbles +%set_permissions %{_bindir}/gnibbles %desktop_database_post %icon_theme_cache_post +%verifyscript -n gnibbles +%verify_permissions -e %{_bindir}/gnibbles + %posttrans -n gnibbles -f gnibbles.schemas_posttrans %preun -n gnibbles -f gnibbles.schemas_preun @@ -592,12 +603,13 @@ %pre -n gnobots2 -f gnobots2.schemas_pre %post -n gnobots2 -f gnobots2.scores_post -%run_permissions -%verifyscript -n gnobots2 -%verify_permissions -e %{_bindir}/gnobots2 +%set_permissions %{_bindir}/gnobots2 %desktop_database_post %icon_theme_cache_post +%verifyscript -n gnobots2 +%verify_permissions -e %{_bindir}/gnobots2 + %posttrans -n gnobots2 -f gnobots2.schemas_posttrans %preun -n gnobots2 -f gnobots2.schemas_preun @@ -628,12 +640,13 @@ %pre -n gnomine -f gnomine.schemas_pre %post -n gnomine -f gnomine.scores_post -%run_permissions -%verifyscript -n gnomine -%verify_permissions -e %{_bindir}/gnomine +%set_permissions %{_bindir}/gnomine %desktop_database_post %icon_theme_cache_post +%verifyscript -n gnomine +%verify_permissions -e %{_bindir}/gnomine + %posttrans -n gnomine -f gnomine.schemas_posttrans %preun -n gnomine -f gnomine.schemas_preun @@ -646,12 +659,13 @@ %pre -n gnotravex -f gnotravex.schemas_pre %post -n gnotravex -f gnotravex.scores_post -%run_permissions -%verifyscript -n gnotravex -%verify_permissions -e %{_bindir}/gnotravex +%set_permissions %{_bindir}/gnotravex %desktop_database_post %icon_theme_cache_post +%verifyscript -n gnotravex +%verify_permissions -e %{_bindir}/gnotravex + %posttrans -n gnotravex -f gnotravex.schemas_posttrans %preun -n gnotravex -f gnotravex.schemas_preun @@ -664,12 +678,13 @@ %pre -n gnotski -f gnotski.schemas_pre %post -n gnotski -f gnotski.scores_post -%run_permissions -%verifyscript -n gnotski -%verify_permissions -e %{_bindir}/gnotski +%set_permissions %{_bindir}/gnotski %desktop_database_post %icon_theme_cache_post +%verifyscript -n gnotski +%verify_permissions -e %{_bindir}/gnotski + %posttrans -n gnotski -f gnotski.schemas_posttrans %preun -n gnotski -f gnotski.schemas_preun @@ -682,12 +697,13 @@ %pre -n gtali -f gtali.schemas_pre %post -n gtali -f gtali.scores_post -%run_permissions -%verifyscript -n gtali -%verify_permissions -e %{_bindir}/gtali +%set_permissions %{_bindir}/gtali %desktop_database_post %icon_theme_cache_post +%verifyscript -n gtali +%verify_permissions -e %{_bindir}/gtali + %posttrans -n gtali -f gtali.schemas_posttrans %preun -n gtali -f gtali.schemas_preun @@ -730,12 +746,13 @@ %pre -n mahjongg -f mahjongg.schemas_pre %post -n mahjongg -f mahjongg.scores_post -%run_permissions -%verifyscript -n mahjongg -%verify_permissions -e %{_bindir}/mahjongg +%set_permissions %{_bindir}/mahjongg %desktop_database_post %icon_theme_cache_post +%verifyscript -n mahjongg +%verify_permissions -e %{_bindir}/mahjongg + %posttrans -n mahjongg -f mahjongg.schemas_posttrans %preun -n mahjongg -f mahjongg.schemas_preun @@ -748,12 +765,13 @@ %pre -n quadrapassel -f quadrapassel.schemas_pre %post -n quadrapassel -f quadrapassel.scores_post -%run_permissions -%verifyscript -n quadrapassel -%verify_permissions -e %{_bindir}/quadrapassel +%set_permissions %{_bindir}/quadrapassel %desktop_database_post %icon_theme_cache_post +%verifyscript -n quadrapassel +%verify_permissions -e %{_bindir}/quadrapassel + %posttrans -n quadrapassel -f quadrapassel.schemas_posttrans %preun -n quadrapassel -f quadrapassel.schemas_preun @@ -854,11 +872,11 @@ %{_mandir}/man?/glines.* %defattr (0755, games, games) # WARNING: If you are modifying this list, don't forget to edit the -# %post script for verify_permissions. +# %%post/%%verifyscript scripts for set_permissions/verify_permissions. %verify(not mode) %{_bindir}/glines %defattr (0664, games, games) # WARNING: If you are modifying this list, -# don't forget to remove obsolete scores in %post. +# don't forget to remove obsolete scores in %%post. %ghost %{_localstatedir}/games/glines.Large.scores %ghost %{_localstatedir}/games/glines.Medium.scores %ghost %{_localstatedir}/games/glines.Small.scores @@ -895,11 +913,11 @@ %{_mandir}/man?/gnibbles.* %defattr (0755, games, games) # WARNING: If you are modifying this list, don't forget to edit the -# %post script for verify_permissions. +# %%post/%%verifyscript scripts for set_permissions/verify_permissions. %verify(not mode) %{_bindir}/gnibbles %defattr (0664, games, games) # WARNING: If you are modifying this list, -# don't forget to remove obsolete scores in %post. +# don't forget to remove obsolete scores in %%post. %ghost %{_localstatedir}/games/gnibbles.1.0.scores %ghost %{_localstatedir}/games/gnibbles.1.1.scores %ghost %{_localstatedir}/games/gnibbles.2.0.scores @@ -925,11 +943,11 @@ %{_mandir}/man?/gnobots2.* %defattr (0755, games, games) # WARNING: If you are modifying this list, don't forget to edit the -# %post script for verify_permissions. +# %%post/%%verifyscript scripts for set_permissions/verify_permissions. %verify(not mode) %{_bindir}/gnobots2 %defattr (0664, games, games) # WARNING: If you are modifying this list, -# don't forget to remove obsolete scores in %post. +# don't forget to remove obsolete scores in %%post. %ghost %{_localstatedir}/games/gnobots2.classic_robots-safe.scores %ghost %{_localstatedir}/games/gnobots2.classic_robots-super-safe.scores %ghost %{_localstatedir}/games/gnobots2.classic_robots.scores @@ -982,11 +1000,11 @@ %{_mandir}/man?/gnomine.* %defattr (0755, games, games) # WARNING: If you are modifying this list, don't forget to edit the -# %post script for verify_permissions. +# %%post/%%verifyscript scripts for set_permissions/verify_permissions. %verify(not mode) %{_bindir}/gnomine %defattr (0664, games, games) # WARNING: If you are modifying this list, -# don't forget to remove obsolete scores in %post. +# don't forget to remove obsolete scores in %%post. %ghost %{_localstatedir}/games/gnomine.Custom.scores %ghost %{_localstatedir}/games/gnomine.Large.scores %ghost %{_localstatedir}/games/gnomine.Medium.scores @@ -1004,11 +1022,11 @@ %{_mandir}/man?/gnotravex.* %defattr (0755, games, games) # WARNING: If you are modifying this list, don't forget to edit the -# %post script for verify_permissions. +# %%post/%%verifyscript scripts for set_permissions/verify_permissions. %verify(not mode) %{_bindir}/gnotravex %defattr (0664, games, games) # WARNING: If you are modifying this list, -# don't forget to remove obsolete scores in %post. +# don't forget to remove obsolete scores in %%post. %ghost %{_localstatedir}/games/gnotravex.2x2.scores %ghost %{_localstatedir}/games/gnotravex.3x3.scores %ghost %{_localstatedir}/games/gnotravex.4x4.scores @@ -1031,11 +1049,11 @@ %{_mandir}/man?/gnotski.* %defattr (0755, games, games) # WARNING: If you are modifying this list, don't forget to edit the -# %post script for verify_permissions. +# %%post/%%verifyscript scripts for set_permissions/verify_permissions. %verify(not mode) %{_bindir}/gnotski %defattr (0664, games, games) # WARNING: If you are modifying this list, -# don't forget to remove obsolete scores in %post. +# don't forget to remove obsolete scores in %%post. %ghost %{_localstatedir}/games/gnotski.1.scores %ghost %{_localstatedir}/games/gnotski.10.scores %ghost %{_localstatedir}/games/gnotski.11.scores @@ -1090,11 +1108,11 @@ %{_mandir}/man?/gtali.* %defattr (0755, games, games) # WARNING: If you are modifying this list, don't forget to edit the -# %post script for verify_permissions. +# %%post/%%verifyscript scripts for set_permissions/verify_permissions. %verify(not mode) %{_bindir}/gtali %defattr (0664, games, games) # WARNING: If you are modifying this list, -# don't forget to remove obsolete scores in %post. +# don't forget to remove obsolete scores in %%post. %ghost %{_localstatedir}/games/gtali.Colors.scores %ghost %{_localstatedir}/games/gtali.Regular.scores # If adding/removing a package, see the NOTE before aisleriot @@ -1145,11 +1163,11 @@ %{_mandir}/man?/mahjongg.* %defattr (0755, games, games) # WARNING: If you are modifying this list, don't forget to edit the -# %post script for verify_permissions. +# %%post/%%verifyscript scripts for set_permissions/verify_permissions. %verify(not mode) %{_bindir}/mahjongg %defattr (0664, games, games) # WARNING: If you are modifying this list, -# don't forget to remove obsolete scores in %post. +# don't forget to remove obsolete scores in %%post. %ghost %{_localstatedir}/games/mahjongg.difficult.scores %ghost %{_localstatedir}/games/mahjongg.easy.scores %ghost %{_localstatedir}/games/mahjongg.bridges.scores @@ -1176,11 +1194,11 @@ %{_mandir}/man?/quadrapassel.* %defattr (0755, games, games) # WARNING: If you are modifying this list, don't forget to edit the -# %post script for verify_permissions. +# %%post/%%verifyscript scripts for set_permissions/verify_permissions. %verify(not mode) %{_bindir}/quadrapassel %defattr (0664, games, games) # WARNING: If you are modifying this list, -# don't forget to remove obsolete scores in %post. +# don't forget to remove obsolete scores in %%post. %ghost %{_localstatedir}/games/quadrapassel.scores # If adding/removing a package, see the NOTE before aisleriot ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org