|
|
@@ -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 $?
|