Accepting request 544755 from home:RBrownSUSE:branches:network:time

Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544755
OBS-URL: https://build.opensuse.org/package/show/network:time/linuxptp?expand=0&rev=7
This commit is contained in:
Martin Pluskal 2017-11-23 15:11:36 +00:00 committed by Git OBS Bridge
parent 22015db53a
commit 6e3107ee6a
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:47:15 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
-------------------------------------------------------------------
Mon Jul 10 11:45:01 UTC 2017 - jengelh@inai.de

View File

@ -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: linuxptp
Version: 1.8
Release: 0
@ -59,8 +64,8 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcphc2sys
install -Dpm 644 default.cfg %{buildroot}/%{_sysconfdir}/ptp4l.conf
install -Dpm 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.ptp4l
install -Dpm 644 %{SOURCE6} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.phc2sys
install -Dpm 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.ptp4l
install -Dpm 644 %{SOURCE6} %{buildroot}%{_fillupdir}/sysconfig.phc2sys
install -Dpm 644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/linuxptp
@ -99,7 +104,7 @@ install -Dpm 644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.
%{_mandir}/man8/pmc.8%{ext_man}
%{_mandir}/man8/ptp4l.8%{ext_man}
%{_mandir}/man8/timemaster.8%{ext_man}
%{_localstatedir}/adm/fillup-templates/sysconfig.ptp4l
%{_localstatedir}/adm/fillup-templates/sysconfig.phc2sys
%{_fillupdir}/sysconfig.ptp4l
%{_fillupdir}/sysconfig.phc2sys
%changelog