1 |
# $Id: e-smith-ntp.spec,v 1.8 2020/11/27 04:29:40 jpp Exp $ |
# $Id: e-smith-ntp.spec,v 1.11 2020/11/30 02:37:28 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 11 |
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 Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
28 |
|
- adding missing folder /usr/lib/systemd/system/ntpd.service.d [SME: 11008] |
29 |
|
|
30 |
|
* Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
31 |
|
- fix typo in path for new driftfile [SME: 8881] |
32 |
|
|
33 |
|
* Fri Nov 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
34 |
|
- fix systemd-preset fragment [SME: 11008] |
35 |
|
add +x to ExecStartPRe script |
36 |
|
|
37 |
* 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 |
38 |
- improve systemd integration [SME: 11008] |
- improve systemd integration [SME: 11008] |
39 |
- change driftfile path [SME: 8881] |
- change driftfile path [SME: 8881] |
759 |
%patch1 -p1 |
%patch1 -p1 |
760 |
%patch2 -p1 |
%patch2 -p1 |
761 |
/usr/bin/rm -rf root/var/service/ntpd/ |
/usr/bin/rm -rf root/var/service/ntpd/ |
762 |
|
mkdir -p root/usr/lib/systemd/system/ntpd.service.d |
763 |
|
|
764 |
%build |
%build |
765 |
for i in ip-change post-install post-upgrade timeserver-update \ |
for i in ip-change post-install post-upgrade timeserver-update \ |
783 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
784 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
785 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
786 |
|
--file '/sbin/e-smith/systemd/initializedate' 'attr(0554,root,root)' \ |
787 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
788 |
# --dir '/var/service/ntpd' 'attr(1755,root,root)' \ |
# --dir '/var/service/ntpd' 'attr(1755,root,root)' \ |
789 |
# --file '/var/service/ntpd/down' 'attr(0644,root,root)' \ |
# --file '/var/service/ntpd/down' 'attr(0644,root,root)' \ |