Accepting request 544704 from home:RBrownSUSE:branches:Base:System
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) OBS-URL: https://build.opensuse.org/request/show/544704 OBS-URL: https://build.opensuse.org/package/show/Base:System/tgt?expand=0&rev=39
This commit is contained in:
parent
495a386135
commit
75b190d1d8
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:42:22 UTC 2017 - rbrown@suse.com
|
||||
|
||||
- Replace references to /var/adm/fillup-templates with new
|
||||
%_fillupdir macro (boo#1069468)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 01:17:49 UTC 2017 - lduncan@suse.com
|
||||
|
||||
|
9
tgt.spec
9
tgt.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: tgt
|
||||
Version: 1.0.60
|
||||
Release: 0
|
||||
@ -68,7 +73,7 @@ make OPTFLAGS="%{optflags}" %{backends}
|
||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install
|
||||
install -vD -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service
|
||||
install -vD %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/tgt
|
||||
install -vD %{SOURCE4} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
||||
install -vD %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||
ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d
|
||||
|
||||
%pre
|
||||
@ -91,7 +96,7 @@ ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d
|
||||
%dir %{_sysconfdir}/tgt/conf.d
|
||||
%config %attr(0644,root,root) %{_sysconfdir}/tgt/targets.conf
|
||||
%config %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/tgt
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.tgt
|
||||
%{_fillupdir}/sysconfig.tgt
|
||||
%{_unitdir}/%{name}d.service
|
||||
%doc README doc/README.iscsi doc/README.iser doc/README.lu_configuration
|
||||
%doc doc/README.mmc doc/README.passthrough doc/README.sbcjukebox doc/README.ssc
|
||||
|
Loading…
Reference in New Issue
Block a user