1 |
# $Id: e-smith-ntp.spec,v 1.8 2020/11/27 04:29:40 jpp Exp $ |
# $Id: e-smith-ntp.spec,v 1.12 2020/11/30 02:40:21 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith specific NTP configuration files and templates |
Summary: e-smith specific NTP configuration files and templates |
4 |
%define name e-smith-ntp |
%define name e-smith-ntp |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 8 |
%define release 12 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Sun Dec 13 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
28 |
|
- update override.conf to 50koozali.conf [SME: 11008] |
29 |
|
|
30 |
|
* Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
31 |
|
- adding missing folder /usr/lib/systemd/system/ntpd.service.d [SME: 11008] |
32 |
|
|
33 |
|
* Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
34 |
|
- fix typo in path for new driftfile [SME: 8881] |
35 |
|
|
36 |
|
* Fri Nov 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
37 |
|
- fix systemd-preset fragment [SME: 11008] |
38 |
|
add +x to ExecStartPRe script |
39 |
|
|
40 |
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
41 |
- improve systemd integration [SME: 11008] |
- improve systemd integration [SME: 11008] |
42 |
- change driftfile path [SME: 8881] |
- change driftfile path [SME: 8881] |
762 |
%patch1 -p1 |
%patch1 -p1 |
763 |
%patch2 -p1 |
%patch2 -p1 |
764 |
/usr/bin/rm -rf root/var/service/ntpd/ |
/usr/bin/rm -rf root/var/service/ntpd/ |
765 |
|
mkdir -p root/usr/lib/systemd/system/ntpd.service.d |
766 |
|
|
767 |
%build |
%build |
768 |
for i in ip-change post-install post-upgrade timeserver-update \ |
for i in ip-change post-install post-upgrade timeserver-update \ |
786 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
787 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
788 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
789 |
|
--file '/sbin/e-smith/systemd/initializedate' 'attr(0554,root,root)' \ |
790 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
791 |
# --dir '/var/service/ntpd' 'attr(1755,root,root)' \ |
# --dir '/var/service/ntpd' 'attr(1755,root,root)' \ |
792 |
# --file '/var/service/ntpd/down' 'attr(0644,root,root)' \ |
# --file '/var/service/ntpd/down' 'attr(0644,root,root)' \ |