|
|
@@ -81,6 +81,10 @@ AutoReqProv: no
|
|
|
%{l_shtool} subst \
|
|
|
-e 's;/var/run/;%{l_prefix}/var/softflowd/;g' \
|
|
|
common.h
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;/var/empty;%{l_prefix}/var/softflowd/empty;g' \
|
|
|
+ -e 's;nobody;%{l_nusr};g' \
|
|
|
+ softflowd.h
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
CPPFLAGS="%{l_cppflags}" \
|
|
|
@@ -100,7 +104,7 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/fsl \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/sbin \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/man8 \
|
|
|
- $RPM_BUILD_ROOT%{l_prefix}/var/softflowd
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/var/softflowd/empty
|
|
|
|
|
|
# install program and manual pages
|
|
|
%{l_shtool} install -c -s -m 755 \
|
|
|
@@ -120,7 +124,8 @@ AutoReqProv: no
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
|
%{l_files_std} \
|
|
|
'%not %dir %{l_prefix}/etc/fsl' \
|
|
|
- '%config %{l_prefix}/etc/fsl/fsl.softflowd'
|
|
|
+ '%config %{l_prefix}/etc/fsl/fsl.softflowd' \
|
|
|
+ '%attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/softflowd/empty'
|
|
|
|
|
|
%files -f files
|
|
|
|