|
|
@@ -79,7 +79,8 @@ PreReq: OpenPKG, openpkg >= 20120101, etcd
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/sbin \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
|
|
|
- $RPM_BUILD_ROOT%{l_prefix}/etc/confd/conf.d/template \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/etc/confd/conf.d \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/etc/confd/templates \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/confd/run \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/confd/log \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/var/confd/out
|
|
|
@@ -90,7 +91,7 @@ PreReq: OpenPKG, openpkg >= 20120101, etcd
|
|
|
%{l_shtool} install -c -m 644 %{l_value -s -a} \
|
|
|
%{SOURCE example.toml} $RPM_BUILD_ROOT%{l_prefix}/etc/confd/conf.d/
|
|
|
%{l_shtool} install -c -m 644 %{l_value -s -a} \
|
|
|
- %{SOURCE example.conf.tmpl} $RPM_BUILD_ROOT%{l_prefix}/etc/confd/conf.d/template/
|
|
|
+ %{SOURCE example.conf.tmpl} $RPM_BUILD_ROOT%{l_prefix}/etc/confd/templates/
|
|
|
%{l_shtool} install -c -m 755 %{l_value -s -a} \
|
|
|
%{SOURCE rc.confd} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|