From 15473d2a5ecfd20bd8cc3982e703fcedd51289f8 Mon Sep 17 00:00:00 2001 From: Karel Klic Date: Fri, 13 May 2011 18:29:33 +0200 Subject: specfile: only condrestarts in %posttrans, 1.x->2.x transition in F15 has been finished rhbz#704415 - abrt-dump-oops breaks live media creation Author: Bill Nottingham --- abrt.spec.in | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/abrt.spec.in b/abrt.spec.in index efe47ab0..f125a9b5 100644 --- a/abrt.spec.in +++ b/abrt.spec.in @@ -405,38 +405,13 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; 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 || : -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 - service abrt-oops condrestart >/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 || : %files -f %{name}.lang %defattr(-,root,root,-) -- cgit