Accepting request 546259 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/546259 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/flannel?expand=0&rev=7
This commit is contained in:
@@ -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: flannel
|
||||
Version: 0.8.0
|
||||
Release: 0
|
||||
@@ -66,7 +71,7 @@ install -d %{buildroot}/%{_sbindir}
|
||||
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcflanneld
|
||||
|
||||
# Sysconfig
|
||||
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.flanneld
|
||||
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.flanneld
|
||||
install -D -p -m 0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
# Additional
|
||||
@@ -101,7 +106,7 @@ mv %{buildroot}%{_bindir}/flannel %{buildroot}%{_sbindir}/flanneld
|
||||
%{_sbindir}/rcflanneld
|
||||
|
||||
# Sysconfig
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.flanneld
|
||||
%{_fillupdir}/sysconfig.flanneld
|
||||
%{_tmpfilesdir}/%{name}.conf
|
||||
%attr(0750,root,root) %dir %ghost %{_rundir}/%{name}
|
||||
|
||||
|
Reference in New Issue
Block a user