From 2ab5b1900ea85c8966b480115e41aee42636ce1d Mon Sep 17 00:00:00 2001 From: Karel Klic Date: Fri, 13 May 2011 18:42:30 +0200 Subject: [PATCH] Do not force service startup in %posttrans, as it breaks live media creation (rhbz#704415) --- abrt.spec | 42 ++++++++---------------------------------- 1 file changed, 8 insertions(+), 34 deletions(-) diff --git a/abrt.spec b/abrt.spec index d3413e1..296fe76 100644 --- a/abrt.spec +++ b/abrt.spec @@ -10,7 +10,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.0.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: Applications/System URL: https://fedorahosted.org/abrt/ @@ -418,43 +418,13 @@ if [ $1 -eq 0 ] ; then fi %posttrans -if [ "$1" -eq "0" ]; then - service abrtd condrestart >/dev/null 2>&1 || : -fi -#systemd -%if %{?with_systemd} -if [ "$1" -eq "0" ]; then - /bin/systemctl try-restart abrtd.service >/dev/null 2>&1 || : -fi -%endif +service abrtd condrestart >/dev/null 2>&1 || : %posttrans addon-ccpp -if [ "$1" -eq "0" ]; then - #service abrt-ccpp condrestart >/dev/null 2>&1 || : - # this is a tmp hack to set-up the ccpp hook when updating - # from 1.x to 2.x without restarting - service abrt-ccpp restart >/dev/null 2>&1 || : -fi - -#systemd -%if %{?with_systemd} -if [ "$1" -eq "0" ]; then - /bin/systemctl try-restart abrt-ccpp.service >/dev/null 2>&1 || : -fi -%endif +service abrt-ccpp condrestart >/dev/null 2>&1 || : %posttrans addon-kerneloops -if [ "$1" -eq "0" ]; then - # this is a tmp hack to set-up the ccpp hook when updating - # from 1.x to 2.x without restarting - service abrt-oops restart >/dev/null 2>&1 || : -fi -#systemd -%if %{?with_systemd} -if [ "$1" -eq "0" ]; then - /bin/systemctl try-restart abrt-oops.service >/dev/null 2>&1 || : -fi -%endif +service abrt-oops condrestart >/dev/null 2>&1 || : %posttrans gui gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : @@ -647,6 +617,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_infodir}/abrt-retrace-server* %changelog +* Fri May 13 2011 Karel Klíč - 2.0.2-5 +- Do not force service startup in %%posttrans, as it breaks live media + creation (rhbz#704415) + * Sun May 08 2011 Jiri Moskovcak 2.0.2-4 - fixed prgname, fixes problem where Gnome3 shows lowres icons instead nice highres ones