forked from pool/yast2-ntp-client
- 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 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-ntp-client?expand=0&rev=244
This commit is contained in:
parent
e2f238a099
commit
771ba529b1
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e718edde0203dde4885ba1fcba0085b68cd6ecc33d2fe112b4328d841bfa1e07
|
|
||||||
size 60961
|
|
3
yast2-ntp-client-4.0.9.tar.bz2
Normal file
3
yast2-ntp-client-4.0.9.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:58472137407ff7a691d3f3cc0f435d07cd64975f0d009482fefffc65bae502bd
|
||||||
|
size 61071
|
@ -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
|
Thu Feb 22 15:21:04 UTC 2018 - gsouza@suse.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: yast2-ntp-client
|
Name: yast2-ntp-client
|
||||||
Version: 4.0.8
|
Version: 4.0.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: YaST2 - NTP Client Configuration
|
Summary: YaST2 - NTP Client Configuration
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@ -61,6 +61,13 @@ rake test:unit
|
|||||||
%install
|
%install
|
||||||
rake install DESTDIR="%{buildroot}"
|
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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{yast_yncludedir}/ntp-client
|
%dir %{yast_yncludedir}/ntp-client
|
||||||
@ -72,6 +79,7 @@ rake install DESTDIR="%{buildroot}"
|
|||||||
%{yast_ydatadir}/ntp_servers.yml
|
%{yast_ydatadir}/ntp_servers.yml
|
||||||
%{yast_schemadir}/autoyast/rnc/ntpclient.rnc
|
%{yast_schemadir}/autoyast/rnc/ntpclient.rnc
|
||||||
%{yast_dir}/lib
|
%{yast_dir}/lib
|
||||||
|
%ghost /etc/cron.d/suse-ntp_synchronize
|
||||||
|
|
||||||
%dir %{yast_docdir}
|
%dir %{yast_docdir}
|
||||||
%doc %{yast_docdir}/COPYING
|
%doc %{yast_docdir}/COPYING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user