!22 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:37 +00:00 committed by Gitee
commit 098bbe2e53
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: cronie Name: cronie
Version: 1.6.1 Version: 1.6.1
Release: 1 Release: 2
Summary: Standard UNIX daemon crond Summary: Standard UNIX daemon crond
License: GPLv2+ and ISC License: GPLv2+ and ISC
URL: https://github.com/cronie-crond/cronie URL: https://github.com/cronie-crond/cronie
@ -19,7 +19,7 @@ Requires(post): systemd coreutils sed
Provides: dailyjobs anacron %{name}-anacron %{name}-noanacron Provides: dailyjobs anacron %{name}-anacron %{name}-noanacron
Obsoletes: %{name}-anacron %{name}-noanacron Obsoletes: %{name}-anacron < %{version}-%{release} %{name}-noanacron < %{version}-%{release}
%description %description
Cronie contains the standard UNIX daemon crond that runs specified programs Cronie contains the standard UNIX daemon crond that runs specified programs
@ -118,6 +118,9 @@ systemctl try-restart crond.service >/dev/null 2>&1 || :
%changelog %changelog
* Tue Oct 18 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.6.1-2
- DESC:add version number for Obsoletes
* Fri Jul 22 2022 YukariChiba <i@0x7f.cc> - 1.6.1-1 * Fri Jul 22 2022 YukariChiba <i@0x7f.cc> - 1.6.1-1
- Upgrade version to 1.6.1 - Upgrade version to 1.6.1