From 177967dc5ad84c6e2f115e72f1f6c8126513005c Mon Sep 17 00:00:00 2001 From: zhangruifang2020 Date: Tue, 18 Oct 2022 14:55:29 +0800 Subject: [PATCH] add version number for Obsoletes --- cronie.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/cronie.spec b/cronie.spec index 64e35eb..c81ddd3 100644 --- a/cronie.spec +++ b/cronie.spec @@ -1,6 +1,6 @@ Name: cronie Version: 1.5.7 -Release: 1 +Release: 2 Summary: Standard UNIX daemon crond License: GPLv2+ and ISC URL: https://github.com/cronie-crond/cronie @@ -19,7 +19,7 @@ Requires(post): systemd coreutils sed Provides: dailyjobs anacron %{name}-anacron %{name}-noanacron -Obsoletes: %{name}-anacron %{name}-noanacron +Obsoletes: %{name}-anacron < %{version}-%{release} %{name}-noanacron < %{version}-%{release} %description Cronie contains the standard UNIX daemon crond that runs specified programs @@ -112,12 +112,16 @@ systemctl try-restart crond.service >/dev/null 2>&1 || : %attr(4755,root,root) %{_bindir}/crontab %{_bindir}/cronnext - %files help %{_mandir}/{man1,man5,man8}/* - %changelog +* Tue Oct 18 2022 zhangruifang - 1.5.7-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add version number for Obsoletes + * Tue Nov 30 2021 wangjie - 1.5.7-1 - Type:enhancement - ID:NA