!21 add version number for Obsoletes

From: @zhangruifang2020 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
This commit is contained in:
openeuler-ci-bot 2022-10-18 08:52:17 +00:00 committed by Gitee
commit fe9ea9ee15
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <zhangruifang1@h-partners.com> - 1.5.7-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add version number for Obsoletes
* Tue Nov 30 2021 wangjie <wangjie375@huawei.com> - 1.5.7-1
- Type:enhancement
- ID:NA