forked from pool/atftp
Accepting request 544657 from home:RBrownSUSE:branches:network
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) OBS-URL: https://build.opensuse.org/request/show/544657 OBS-URL: https://build.opensuse.org/package/show/network/atftp?expand=0&rev=36
This commit is contained in:
parent
b5217f7882
commit
362ec74c20
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:38:03 UTC 2017 - rbrown@suse.com
|
||||
|
||||
- Replace references to /var/adm/fillup-templates with new
|
||||
%_fillupdir macro (boo#1069468)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 8 13:01:24 UTC 2017 - pmonrealgonzalez@suse.com
|
||||
|
||||
|
@ -17,6 +17,11 @@
|
||||
|
||||
|
||||
#
|
||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir /var/adm/fillup-templates
|
||||
%endif
|
||||
|
||||
%define _fwdefdir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
|
||||
%define pkg_version 0.7
|
||||
Name: atftp
|
||||
@ -113,7 +118,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcatftpd
|
||||
install -D -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/atftpd
|
||||
ln -s -f ../..%{_initddir}/atftpd %{buildroot}%{_sbindir}/rcatftpd
|
||||
%endif
|
||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.atftpd
|
||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.atftpd
|
||||
install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||
mkdir -p %{buildroot}/%{_fwdefdir}
|
||||
install -m 0644 %{SOURCE4} %{buildroot}/%{_fwdefdir}/atftp
|
||||
@ -172,7 +177,7 @@ fi
|
||||
%{_initddir}/atftpd
|
||||
%endif
|
||||
%config %{_sysconfdir}/logrotate.d/%{name}
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.atftpd
|
||||
%{_fillupdir}/sysconfig.atftpd
|
||||
%{_mandir}/man1/atftp.1.gz
|
||||
%{_mandir}/man8/atftpd.8.gz
|
||||
%{_mandir}/man8/in.tftpd.8.gz
|
||||
|
Loading…
Reference in New Issue
Block a user