!21 add version number for Obsoletes
From: @zhangruifang2020 Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
fe9ea9ee15
12
cronie.spec
12
cronie.spec
@ -1,6 +1,6 @@
|
|||||||
Name: cronie
|
Name: cronie
|
||||||
Version: 1.5.7
|
Version: 1.5.7
|
||||||
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
|
||||||
@ -112,12 +112,16 @@ systemctl try-restart crond.service >/dev/null 2>&1 || :
|
|||||||
%attr(4755,root,root) %{_bindir}/crontab
|
%attr(4755,root,root) %{_bindir}/crontab
|
||||||
%{_bindir}/cronnext
|
%{_bindir}/cronnext
|
||||||
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/{man1,man5,man8}/*
|
%{_mandir}/{man1,man5,man8}/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 30 2021 wangjie <wangjie375@huawei.com> - 1.5.7-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user