Dominique Leuenberger 2017-11-24 09:56:07 +00:00 committed by Git OBS Bridge
commit fe553d51d9
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:38:22 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 3 08:36:33 UTC 2017 - josef.moellers@suse.com Fri Feb 3 08:36:33 UTC 2017 - josef.moellers@suse.com

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: ddclient Name: ddclient
Summary: A Perl Client to Update Dynamic DNS Entries Summary: A Perl Client to Update Dynamic DNS Entries
License: GPL-2.0+ License: GPL-2.0+
@ -92,8 +97,8 @@ mv sample-* examples
%{__install} -D -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/init.d/%{name} %{__install} -D -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/init.d/%{name}
%{__ln_s} %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %{__ln_s} %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
%endif %endif
%{__install} -d -m 755 %{buildroot}/var/adm/fillup-templates %{__install} -d -m 755 %{buildroot}%{_fillupdir}
%{__install} -m 644 %{SOURCE2} %{buildroot}/var/adm/fillup-templates/sysconfig.%{name} %{__install} -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.%{name}
%{__install} -d -m 755 %{buildroot}/var/cache/%{name} %{__install} -d -m 755 %{buildroot}/var/cache/%{name}
%if 0%{?has_systemd} %if 0%{?has_systemd}
%{__install} -d -m 755 %{buildroot}/run/%{name} %{__install} -d -m 755 %{buildroot}/run/%{name}
@ -151,7 +156,7 @@ fi
%endif %endif
%{_sbindir}/%{name} %{_sbindir}/%{name}
%{_sbindir}/rc%{name} %{_sbindir}/rc%{name}
/var/adm/fillup-templates/sysconfig.%{name} %{_fillupdir}/sysconfig.%{name}
%dir %attr(700,%{name},root) %{_localstatedir}/cache/%{name} %dir %attr(700,%{name},root) %{_localstatedir}/cache/%{name}
%changelog %changelog