1 |
# $Id: e-smith-ntp.spec,v 1.6 2020/11/16 16:34:04 michel Exp $ |
# $Id: e-smith-ntp.spec,v 1.10 2020/11/27 14:44:32 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 7 |
%define release 10 |
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 |
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
* Sun Nov 29 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
28 |
|
- fix typo in path for new driftfile [SME: 8881] |
29 |
|
|
30 |
|
* Fri Nov 27 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
31 |
|
- fix systemd-preset fragment [SME: 11008] |
32 |
|
add +x to ExecStartPRe script |
33 |
|
|
34 |
|
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
35 |
- improve systemd integration [SME: 11008] |
- improve systemd integration [SME: 11008] |
36 |
- change driftfile path [SME: 8881] |
- change driftfile path [SME: 8881] |
37 |
|
|
755 |
%patch0 -p1 |
%patch0 -p1 |
756 |
%patch1 -p1 |
%patch1 -p1 |
757 |
%patch2 -p1 |
%patch2 -p1 |
758 |
|
/usr/bin/rm -rf root/var/service/ntpd/ |
759 |
|
|
760 |
%build |
%build |
761 |
for i in ip-change post-install post-upgrade timeserver-update \ |
for i in ip-change post-install post-upgrade timeserver-update \ |
779 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
780 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
781 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
782 |
|
--file '/sbin/e-smith/systemd/initializedate' 'attr(0554,root,root)' \ |
783 |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
784 |
# --dir '/var/service/ntpd' 'attr(1755,root,root)' \ |
# --dir '/var/service/ntpd' 'attr(1755,root,root)' \ |
785 |
# --file '/var/service/ntpd/down' 'attr(0644,root,root)' \ |
# --file '/var/service/ntpd/down' 'attr(0644,root,root)' \ |