Browse Source

chrony 3.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11087 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 7 years ago
parent
commit
00f9138f91
1 changed files with 19 additions and 10 deletions
  1. 19 10
      c/chrony/chrony-vl.spec

+ 19 - 10
c/chrony/chrony-vl.spec

@@ -1,6 +1,6 @@
 Name:           chrony
-Version:        2.2.1
-Release:        2%{?_dist_release}
+Version:        3.0
+Release:        1%{?_dist_release}
 Summary:        An NTP client/server
 
 Group:          System Environment/Daemons
@@ -12,13 +12,16 @@ Source2:        chrony.dhclient
 Source3:        chronyd.sysconfig
 Source4:        chronyd.init
 Source5:        chrony.logrotate
+# Debian's patches
+Patch101:       fix_time_smoothing_in_interleaved_mode.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  libcap-devel readline-devel ncurses-devel bison texinfo
+BuildRequires:  libcap-devel readline-devel ncurses-devel bison
 
 Requires(pre):  shadow-utils
-Requires(post): chkconfig info
-Requires(preun): chkconfig initscripts info
+Requires(post): chkconfig
+Requires(preun): chkconfig initscripts
 Requires(postun): initscripts
 
 Obsoletes:      ntp < 4.2.6p5
@@ -37,6 +40,7 @@ clocks, system real-time clock or manual input as time references.
 
 %prep
 %setup -q -n %{name}-%{version}%{?prerelease}
+%patch101 -p1
 
 echo '# Keys used by chronyd for command and NTP authentication' > chrony.keys
 
@@ -97,15 +101,12 @@ getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \
 
 %post
 /sbin/chkconfig --add chronyd
-/sbin/install-info  %{_infodir}/chrony.info.gz %{_infodir}/dir &> /dev/null
 :
 
 %preun
 if [ "$1" -eq 0 ]; then
         /sbin/service chronyd stop &> /dev/null
         /sbin/chkconfig --del chronyd
-        /sbin/install-info --delete %{_infodir}/chrony.info.gz \
-                %{_infodir}/dir &> /dev/null
 fi
 :
 
@@ -117,7 +118,7 @@ fi
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING FAQ NEWS README chrony.txt examples/*
+%doc COPYING FAQ NEWS README examples/*
 %config(noreplace) %{_sysconfdir}/chrony.conf
 %config(noreplace) %verify(not md5 size mtime) %attr(640,root,chrony) %{_sysconfdir}/chrony.keys
 %config(noreplace) %{_sysconfdir}/sysconfig/chronyd
@@ -127,7 +128,6 @@ fi
 %{_sysconfdir}/dhcp/dhclient.d/chrony.sh
 %{_bindir}/chronyc
 %{_sbindir}/chronyd
-%{_infodir}/chrony.info*
 %{_mandir}/man[158]/%{name}*.[158]*
 %dir %attr(-,chrony,chrony) %{_localstatedir}/lib/chrony
 %ghost %attr(-,chrony,chrony) %{_localstatedir}/lib/chrony/drift
@@ -135,6 +135,15 @@ fi
 %dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
 
 %changelog
+* Thu May 18 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 3.0-1
+- update to 3.0
+- add patch to fix time smoothing in interleaved mode (Patch101); from Debian 3.0-4
+- drop chrony.txt in %%doc; upstream dropped
+- drop info file; upstream dropped
+ - drop R: info
+ - drop BR: texinfo
+ - drop scripts for info
+
 * Mon Jul 11 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 2.2.1-2
 - Obsoletes: networkmanager-dispatcher-chrony