소스 검색

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'