public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/abrt] update-2.17.9-f44: Do not force service startup in %posttrans, as it breaks live media creation (rhbz#704415)
@ 2026-08-03 11:03 Karel Klic
  0 siblings, 0 replies; only message in thread
From: Karel Klic @ 2026-08-03 11:03 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/abrt
Branch : update-2.17.9-f44
Commit : 2ab5b1900ea85c8966b480115e41aee42636ce1d
Author : Karel Klic <kklic@redhat.com>
Date   : 2011-05-13T18:42:30+02:00
Stats  : +8/-34 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/abrt/c/2ab5b1900ea85c8966b480115e41aee42636ce1d?branch=update-2.17.9-f44

Log:
Do not force service startup in %posttrans, as it breaks live media creation (rhbz#704415)

---
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íč <kklic@redhat.com> - 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 <jmoskovc@redhat.com> 2.0.2-4
 - fixed prgname, fixes problem where Gnome3 shows lowres icons instead
   nice highres ones

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-03 11:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 11:03 [rpms/abrt] update-2.17.9-f44: Do not force service startup in %posttrans, as it breaks live media creation (rhbz#704415) Karel Klic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox