浏览代码

fixed nasty directory permission bug

Christoph Schug 21 年之前
父节点
当前提交
955f3ad5e2
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 1 0
      oracle-barebone/oracle-barebone.pl
  2. 7 0
      oracle-barebone/oracle-barebone.spec

+ 1 - 0
oracle-barebone/oracle-barebone.pl

@@ -16,6 +16,7 @@ my @list = (qw(
     !rdbms/jlib/
     !rdbms/admin/
     !rdbms/install/
+    network
     network/mesg/
     network/admin/
     network/lib/

+ 7 - 0
oracle-barebone/oracle-barebone.spec

@@ -132,6 +132,13 @@ AutoReqProv:  no
             $bin $RPM_BUILD_ROOT%{l_prefix}/bin/$bin
     done
 
+    #   FIXME: cs: fixup permissions caused by bug in
+    #   %{SOURCE oracle-barebone.pl} (fixed in the same commit) this
+    #   chmod(1) is just a quick hack to avoid re-rolling all Oracle
+    #   stuff from vendor cpios. This hack can be removed next time
+    #   when %{SOURCE oracle-barebone.pl} is run.
+    chmod 755 $RPM_BUILD_ROOT%{l_prefix}/libexec/oracle-barebone/network
+
     #   determine installation files
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
         %{l_files_std} \