From 701f4590c38cbfb19c4d6b6d35f0c2e85cf501b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 12 Mar 2012 10:28:41 +0000 Subject: [PATCH] - clear systemd macros when systemd is off Changed files: cronie.spec -> 1.62 --- cronie.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cronie.spec b/cronie.spec index a06a77c..583838c 100644 --- a/cronie.spec +++ b/cronie.spec @@ -16,10 +16,17 @@ %bcond_with systemd # without systemd units %endif +%if %{without systemd} +%define systemd_post() %{nil} +%define systemd_preun() %{nil} +%define systemd_reload() %{nil} +%define systemd_trigger() %{nil} +%endif + Summary: Cron daemon for executing programs at set times Name: cronie Version: 1.4.8 -Release: 16 +Release: 17 License: MIT and BSD and GPL v2 Group: Daemons Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz -- 2.43.0