From dad72d3aa583ec9d902eefc048dd34b64c51a9b5 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Jan 18 2013 20:33:41 +0000 Subject: fix to use %%systemd_postun_with_restart - use %%systemd_postun_with_restart instead of plain old %%systemd_postun, because we can be restarted in the %%postun --- diff --git a/oddjob.spec b/oddjob.spec index b13154f..4fb61cd 100644 --- a/oddjob.spec +++ b/oddjob.spec @@ -17,7 +17,7 @@ Name: oddjob Version: 0.31.3 -Release: 1%{?dist} +Release: 2%{?dist} Source0: http://fedorahosted.org/released/oddjob/oddjob-%{version}.tar.gz Source1: http://fedorahosted.org/released/oddjob/oddjob-%{version}.tar.gz.sig Summary: A D-Bus service which runs odd jobs on behalf of client applications @@ -194,7 +194,7 @@ fi %postun %if %{systemd} -%systemd_postun oddjobd.service +%systemd_postun_with_restart oddjobd.service %endif %if %{sysvinit} if [ $1 -gt 0 ] ; then @@ -244,6 +244,10 @@ fi exit 0 %changelog +* Fri Jan 18 2013 Nalin Dahyabhai 0.31.3-2 +- use %%systemd_postun_with_restart instead of plain old %%systemd_postun, + because we can be restarted in the %%postun + * Thu Jan 17 2013 Nalin Dahyabhai 0.31.3-1 - use newer systemd macros (#857375)