Accepting request 583846 from YaST:Head

submit new version 4.0.9

OBS-URL: https://build.opensuse.org/request/show/583846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yast2-ntp-client?expand=0&rev=103
This commit is contained in:
Dominique Leuenberger 2018-03-11 17:02:05 +00:00 committed by Git OBS Bridge
commit 6a69b7bd3c
4 changed files with 23 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e718edde0203dde4885ba1fcba0085b68cd6ecc33d2fe112b4328d841bfa1e07
size 60961

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58472137407ff7a691d3f3cc0f435d07cd64975f0d009482fefffc65bae502bd
size 61071

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Mar 7 10:57:36 UTC 2018 - jreidinger@suse.com
- change cron config file name to suse-ntp_synchronize
(bsc#1079122)
- convert old file to new one during upgrade, ensure that ntpd is
replaced by chrony (FATE#323432)
- ghost that config file, so it is easy to find which package owns
it
- 4.0.9
-------------------------------------------------------------------
Thu Feb 22 15:21:04 UTC 2018 - gsouza@suse.com

View File

@ -17,7 +17,7 @@
Name: yast2-ntp-client
Version: 4.0.8
Version: 4.0.9
Release: 0
Summary: YaST2 - NTP Client Configuration
License: GPL-2.0+
@ -61,6 +61,13 @@ rake test:unit
%install
rake install DESTDIR="%{buildroot}"
%post
# upgrade old name and convert it to chrony (bsc#1079122)
if [ -f /etc/cron.d/novell.ntp-synchronize ]; then
mv /etc/cron.d/novell.ntp-synchronize /etc/cron.d/suse-ntp_synchronize
sed -i 's:\* \* \* \* root .*:* * * * root /usr/sbin/chronyd -q \&>/dev/null:' /etc/cron.d/suse-ntp_synchronize
fi
%files
%defattr(-,root,root)
%dir %{yast_yncludedir}/ntp-client
@ -72,6 +79,7 @@ rake install DESTDIR="%{buildroot}"
%{yast_ydatadir}/ntp_servers.yml
%{yast_schemadir}/autoyast/rnc/ntpclient.rnc
%{yast_dir}/lib
%ghost /etc/cron.d/suse-ntp_synchronize
%dir %{yast_docdir}
%doc %{yast_docdir}/COPYING