Selaa lähdekoodia

Synchronize spec file substitution with recent rc file changes

Michael Schloh von Bennewitz 22 vuotta sitten
vanhempi
commit
37a2ed6686
4 muutettua tiedostoa jossa 9 lisäystä ja 3 poistoa
  1. 1 1
      sasl/rc.sasl
  2. 2 0
      sasl/sasl.spec
  3. 1 1
      smtpfeed/rc.smtpfeed
  4. 5 1
      smtpfeed/smtpfeed.spec

+ 1 - 1
sasl/rc.sasl

@@ -31,7 +31,7 @@
     sleep 2
     @l_prefix@/sbin/saslauthd -a ${sasl_authmech} -n ${sasl_threads}
 
-%daily -u @l_susr@
+%daily -u @l_rusr@
     opServiceEnabled sasl || exit 0
 
     #   rotate logfile

+ 2 - 0
sasl/sasl.spec

@@ -249,6 +249,8 @@ AutoReqProv:  no
         -e "s;@l_authmech@;${l_authmech};g" \
         -e 's;@l_prefix@;%{l_prefix};g' \
         -e 's;@l_susr@;%{l_susr};g' \
+        -e 's;@l_rusr@;%{l_rusr};g' \
+        -e 's;@l_rgrp@;%{l_rgrp};g' \
         %{SOURCE rc.sasl} \
         $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
 

+ 1 - 1
smtpfeed/rc.smtpfeed

@@ -58,7 +58,7 @@
     sleep 1
     smtpfeed_start
 
-%daily -u @l_susr@
+%daily -u @l_rusr@
     opServiceEnabled smtpfeed || exit 0
 
     #   rotate logfile

+ 5 - 1
smtpfeed/smtpfeed.spec

@@ -107,7 +107,11 @@ AutoReqProv:  no
     )
     %{l_shtool} install -c -s -m 755 \
         smtpfeedd/smtpfeedd $RPM_BUILD_ROOT%{l_prefix}/sbin/
-    %{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
+    %{l_shtool} install -c -m 755 \
+        -e 's;@l_prefix@;%{l_prefix};g' \
+        -e 's;@l_susr@;%{l_susr};g' \
+        -e 's;@l_rusr@;%{l_rusr};g' \
+        -e 's;@l_rgrp@;%{l_rgrp};g' \
         %{SOURCE rc.smtpfeed} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
 
     #   OSSP fake syslog library