Accepting request 544871 from network:time
OBS-URL: https://build.opensuse.org/request/show/544871 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ptpd?expand=0&rev=22
This commit is contained in:
commit
2a4c9ee9b4
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:47:12 UTC 2017 - rbrown@suse.com
|
||||
|
||||
- Replace references to /var/adm/fillup-templates with new
|
||||
%_fillupdir macro (boo#1069468)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 13 10:40:49 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
|
11
ptpd.spec
11
ptpd.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ptpd
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,6 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir /var/adm/fillup-templates
|
||||
%endif
|
||||
|
||||
Name: ptpd
|
||||
Version: 2.3.1
|
||||
Release: 0
|
||||
@ -73,7 +78,7 @@ autoreconf -fiv
|
||||
install -D -p -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}2.service
|
||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}2
|
||||
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}2.conf
|
||||
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.ptpd2
|
||||
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_fillupdir}/sysconfig.ptpd2
|
||||
# have to create the below, else ptpd will not log drift
|
||||
install -d %{buildroot}%{_localstatedir}/log
|
||||
touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
||||
@ -101,7 +106,7 @@ touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
||||
%{_mandir}/man8/ptpd2.8%{ext_man}
|
||||
%{_datadir}/ptpd
|
||||
%{_libexecdir}/systemd/system/ptpd2.service
|
||||
%{_localstatedir}/adm/fillup-templates/*
|
||||
%{_fillupdir}/*
|
||||
%config %ghost %{_localstatedir}/log/ptpd2_kernelclock.drift
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user