瀏覽代碼

dcron requires the system crontabs to be owned by the super-user

Ralf S. Engelschall 17 年之前
父節點
當前提交
3ae8abf6fc
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      drupal/drupal.spec

+ 3 - 0
drupal/drupal.spec

@@ -1416,6 +1416,9 @@ AutoReqProv:  no
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
         %{l_files_std} \
         '%config %{l_prefix}/etc/drupal' \
+%if "%{with_dcron}" == "yes"
+        '%attr(-,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/dcron/crontabs/drupal' \
+%endif
         '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/share/drupal' \
         '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/drupal'