瀏覽代碼

try to fix '.info' stuff

Ralf S. Engelschall 22 年之前
父節點
當前提交
62abe8c586
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      gcc34/gcc34.spec

+ 4 - 1
gcc34/gcc34.spec

@@ -54,7 +54,7 @@ Patch0:       gcc34.patch
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20030103, make, flex, bison
+BuildPreReq:  OpenPKG, openpkg >= 20030103, make, flex, bison, texinfo
 PreReq:       OpenPKG, openpkg >= 20030103
 %if "%{with_binutils}" == "yes"
 BuildPreReq:  binutils >= 2.13
@@ -225,16 +225,19 @@ Provides:     gcc = %{version}-%{release}
 %if "%{with_gcc}" != "yes" && "%{V_comp}" != ""
     ( cd $RPM_BUILD_ROOT%{l_prefix}/bin
       for file in *; do
+          [ ".$file" = ".*" ] && continue
           mv ${file} ${file}%{V_comp}
       done
     ) || exit $?
     ( cd $RPM_BUILD_ROOT%{l_prefix}/info
       for file in *; do
+          [ ".$file" = ".*" ] && continue
           mv ${file} `echo ${file} | sed -e 's;^\([^.]*\)\(\..*\)$;\1%{V_comp}\2;'`
       done
     ) || exit $?
     ( cd $RPM_BUILD_ROOT%{l_prefix}/man/man1
       for file in *; do
+          [ ".$file" = ".*" ] && continue
           mv ${file} `echo ${file} | sed -e 's;^\([^.]*\)\(\..*\)$;\1%{V_comp}\2;'`
       done
     ) || exit $?