Hello community, here is the log from the commit of package hicolor-icon-theme for openSUSE:Factory checked in at Fri Oct 15 12:40:07 CEST 2010. -------- --- hicolor-icon-theme/hicolor-icon-theme.changes 2010-08-25 16:27:46.000000000 +0200 +++ /mounts/work_src_done/STABLE/hicolor-icon-theme/hicolor-icon-theme.changes 2010-10-07 14:52:49.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Oct 7 14:51:55 CEST 2010 - vuntz@opensuse.org + +- Reformat macros.hicolor so that the generated scriptlet looks a + bit nicer. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hicolor-icon-theme.spec ++++++ --- /var/tmp/diff_new_pack.V3m3pQ/_old 2010-10-15 12:39:44.000000000 +0200 +++ /var/tmp/diff_new_pack.V3m3pQ/_new 2010-10-15 12:39:44.000000000 +0200 @@ -23,7 +23,7 @@ License: GPLv2+ Group: System/X11/Utilities Version: 0.12 -Release: 6 +Release: 7 Url: http://icon-theme.freedesktop.org/wiki/HicolorTheme Source: %{name}-%{version}.tar.bz2 Source1: macros.hicolor ++++++ macros.hicolor ++++++ --- /var/tmp/diff_new_pack.V3m3pQ/_old 2010-10-15 12:39:44.000000000 +0200 +++ /var/tmp/diff_new_pack.V3m3pQ/_new 2010-10-15 12:39:44.000000000 +0200 @@ -25,39 +25,39 @@ # ### -%icon_theme_cache_create_ghost() \ -if test "x%1" == "x%%1"; then \ - echo "Missing argument in call to %%icon_theme_cache_create_ghost." \ - false \ -fi \ -mkdir -p "%{buildroot}%{_datadir}/icons/%1" \ +%icon_theme_cache_create_ghost() \ +if test "x%1" == "x%%1"; then \ + echo "Missing argument in call to %%icon_theme_cache_create_ghost." \ + false \ +fi \ +mkdir -p "%{buildroot}%{_datadir}/icons/%1" \ touch "%{buildroot}%{_datadir}/icons/%1/icon-theme.cache" # On install, update the icon cache -%icon_theme_cache_post() \ -%if "x%1" != "x%%1" \ - ICON_THEME="%1" \ -%else \ - ICON_THEME="hicolor" \ -%endif \ -if test -x /usr/bin/gtk-update-icon-cache; then \ - /usr/bin/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \ -elif test -x /usr/bin/gtk-update-icon-cache-3.0; then \ - /usr/bin/gtk-update-icon-cache-3.0 --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \ +%icon_theme_cache_post() \ +%if "x%1" != "x%%1" \ +ICON_THEME="%1" \ +%else \ +ICON_THEME="hicolor" \ +%endif \ +if test -x %{_bindir}/gtk-update-icon-cache; then \ + %{_bindir}/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \ +elif test -x %{_bindir}/gtk-update-icon-cache-3.0; then \ + %{_bindir}/gtk-update-icon-cache-3.0 --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \ fi # On uninstall, update the icon cache. Note: we ignore upgrades (already # handled in %post of the new package). -%icon_theme_cache_postun() \ -if [ $1 -eq 0 ]; then \ - %if "x%1" != "x%%1" \ - ICON_THEME="%1" \ - %else \ - ICON_THEME="hicolor" \ - %endif \ - if test -x /usr/bin/gtk-update-icon-cache; then \ - /usr/bin/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \ - elif test -x /usr/bin/gtk-update-icon-cache-3.0; then \ - /usr/bin/gtk-update-icon-cache-3.0 --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \ - fi \ +%icon_theme_cache_postun() \ +if [ $1 -eq 0 ]; then \ +%if "x%1" != "x%%1" \ + ICON_THEME="%1" \ +%else \ + ICON_THEME="hicolor" \ +%endif \ + if test -x %{_bindir}/gtk-update-icon-cache; then \ + %{_bindir}/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \ + elif test -x %{_bindir}/gtk-update-icon-cache-3.0; then \ + %{_bindir}/gtk-update-icon-cache-3.0 --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \ + fi \ fi ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org