From 40b85ef5c6525b45a5586ba561752f01c0fcfb91 Mon Sep 17 00:00:00 2001 From: dogsheng <960055655@qq.com> Date: Wed, 25 Dec 2019 15:44:01 +0800 Subject: [PATCH] Package init --- cronie.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cronie.spec b/cronie.spec index 93e5f49..b95c5f9 100644 --- a/cronie.spec +++ b/cronie.spec @@ -1,6 +1,6 @@ Name: cronie Version: 1.5.4 -Release: 3 +Release: 4 Summary: Standard UNIX daemon crond License: GPLv2+ and ISC URL: https://github.com/cronie-crond/cronie @@ -14,6 +14,9 @@ Patch9000: bugfix-cronie-systemd-alias.patch BuildRequires: gcc systemd libselinux-devel pam-devel audit-libs-devel git Requires: libselinux pam crontabs +Requires(preun): systemd +Requires(postun): systemd +Requires(post): systemd coreutils sed Provides: dailyjobs anacron %{name}-anacron %{name}-noanacron @@ -116,6 +119,9 @@ systemctl try-restart crond.service >/dev/null 2>&1 || : %changelog +* Fri Dec 20 2019 openEuler Buildteam - 1.5.4-4 +- Add requires + * Fri Sep 20 2019 openEuler Buildteam - 1.5.4-3 - Add license "ISC"