update chrony.spec.

This commit is contained in:
qiaoyujie 2022-07-04 09:13:58 +00:00 committed by Gitee
parent 1cbdf352e0
commit 107d3eafae
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: chrony
Version: 4.2
Release: 1
Release: 2
Summary: An NTP client/server
License: GPLv2
URL: https://chrony.tuxfamily.org
@ -12,7 +12,7 @@ Source1: chrony.dhclient
Source6: https://github.com/mlichvar/clknetsim/archive/%{clknetsim_ver}/clknetsim-%{clknetsim_ver}.tar.gz
Patch1: chrony-nm-dispatcher-dhcp.patch
Patch2: chrony-services.patch
Patch2: chrony-services.patch
BuildRequires: gcc gcc-c++ bison systemd libcap-devel libedit-devel nettle-devel pps-tools-devel libseccomp-devel
Requires: shadow-utils systemd timedatex
@ -30,6 +30,7 @@ service to other computers in the network.
%setup -q -n %{name}-%{version} -a 6
%patch1 -p1
%patch2 -p1
mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim
%build
@ -136,6 +137,9 @@ fi
%{_mandir}/man[158]/%{name}*.[158]*
%changelog
* Mon Jul 04 2022 qiaoyujie <qiaoyujie@kylinos.cn> - 4.2-2
- Put patch2 into the source code
* Wed Jun 22 2022 qiaoyujie <qiaoyujie@kylinos.cn> - 4.2-1
- Upgrade version to 4.2