Reindent functions and multi-line commands.

This commit is contained in:
Carlos O'Donell 2013-07-25 18:53:13 -04:00
parent 37714d015a
commit d4d7effa6b
1 changed files with 66 additions and 58 deletions

View File

@ -722,13 +722,15 @@ GCC=`cat Gcc`
# Cleanup any previous installs... # Cleanup any previous installs...
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT
make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{target} %{silentrules} make -j1 install_root=$RPM_BUILD_ROOT \
install -C build-%{target} %{silentrules}
chmod +x $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown chmod +x $RPM_BUILD_ROOT%{_prefix}/libexec/pt_chown
# If we are not building an auxiliary arch then install all of the supported # If we are not building an auxiliary arch then install all of the supported
# locales. # locales.
%ifnarch %{auxarches} %ifnarch %{auxarches}
pushd build-%{target} pushd build-%{target}
make %{?_smp_mflags} install_root=$RPM_BUILD_ROOT install-locales -C ../localedata objdir=`pwd` make %{?_smp_mflags} install_root=$RPM_BUILD_ROOT \
install-locales -C ../localedata objdir=`pwd`
popd popd
%endif %endif
@ -1257,13 +1259,19 @@ find_debuginfo_args='--strict-build-id -g'
%ifarch %{debuginfocommonarches} %ifarch %{debuginfocommonarches}
echo %{_prefix}/libexec/pt_chown > workaround.filelist echo %{_prefix}/libexec/pt_chown > workaround.filelist
find_debuginfo_args="$find_debuginfo_args \ find_debuginfo_args="$find_debuginfo_args \
-l common.filelist -l utils.filelist -l nscd.filelist -l workaround.filelist \ -l common.filelist \
-l utils.filelist \
-l nscd.filelist \
-l workaround.filelist \
-p '.*/(sbin|libexec)/.*' \ -p '.*/(sbin|libexec)/.*' \
-o debuginfocommon.filelist \ -o debuginfocommon.filelist \
-l rpm.filelist -l nosegneg.filelist \ -l rpm.filelist \
-l nosegneg.filelist \
" "
%endif %endif
eval /usr/lib/rpm/find-debuginfo.sh "$find_debuginfo_args" -o debuginfo.filelist eval /usr/lib/rpm/find-debuginfo.sh \
"$find_debuginfo_args" \
-o debuginfo.filelist
# List all of the *.a archives in the debug directory. # List all of the *.a archives in the debug directory.
list_debug_archives() list_debug_archives()