Accepting request 544909 from Base:System
OBS-URL: https://build.opensuse.org/request/show/544909 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tgt?expand=0&rev=33
This commit is contained in:
commit
8911124625
@ -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
|
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
|
Name: tgt
|
||||||
Version: 1.0.60
|
Version: 1.0.60
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -68,7 +73,7 @@ make OPTFLAGS="%{optflags}" %{backends}
|
|||||||
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install
|
make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install
|
||||||
install -vD -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service
|
install -vD -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service
|
||||||
install -vD %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/tgt
|
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
|
ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
@ -91,7 +96,7 @@ ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d
|
|||||||
%dir %{_sysconfdir}/tgt/conf.d
|
%dir %{_sysconfdir}/tgt/conf.d
|
||||||
%config %attr(0644,root,root) %{_sysconfdir}/tgt/targets.conf
|
%config %attr(0644,root,root) %{_sysconfdir}/tgt/targets.conf
|
||||||
%config %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/tgt
|
%config %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/tgt
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.tgt
|
%{_fillupdir}/sysconfig.tgt
|
||||||
%{_unitdir}/%{name}d.service
|
%{_unitdir}/%{name}d.service
|
||||||
%doc README doc/README.iscsi doc/README.iser doc/README.lu_configuration
|
%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
|
%doc doc/README.mmc doc/README.passthrough doc/README.sbcjukebox doc/README.ssc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user