diff --git a/linuxptp.changes b/linuxptp.changes index d5de1e9..fc745a1 100644 --- a/linuxptp.changes +++ b/linuxptp.changes @@ -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 diff --git a/linuxptp.spec b/linuxptp.spec index f7b3c58..04971e7 100644 --- a/linuxptp.spec +++ b/linuxptp.spec @@ -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