1 macros.rpmbuild fixed with rpm-fix-___build_pre-macro.patch
3 #--- rpm-5.4.4/macros/macros.rpmbuild.in.builddir~ 2011-12-20 15:36:20.813852241 +0100
4 #+++ rpm-5.4.4/macros/macros.rpmbuild.in 2011-12-20 15:37:43.385806877 +0100
5 #@@ -326,8 +326,9 @@ echo "Patch #%{__patch_number} (%{basena
7 # %___build_cmd %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args}
9 #+ RPM_BUILD_DIR=\"%{u2p:%{_builddir}}\"\
10 # RPM_OPT_FLAGS=\"%{optflags}\"\
11 #- export RPM_OPT_FLAGS\
12 #+ export RPM_BUILD_DIR RPM_OPT_FLAGS\
13 # %{?buildroot:RPM_BUILD_ROOT=\"%{u2p:%{buildroot}}\"\
14 # export RPM_BUILD_ROOT}\
15 # %{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\
16 --- rpm-5.4.4/scripts/find-debuginfo.sh.builddir~ 2011-12-20 15:36:31.962846125 +0100
17 +++ rpm-5.4.4/scripts/find-debuginfo.sh 2011-12-20 15:36:49.492836503 +0100
18 @@ -32,7 +32,6 @@ strip_r=false
19 # Barf on missing build IDs.
22 -RPM_BUILD_DIR="`pwd`"
23 # canon RPM_BUILD_DIR, the DW_AT_comp_dir in ELF objects is real a real path
24 # and debugedit will ignore them as they are out of build dir.
25 RPM_BUILD_DIR=$(readlink -f "$RPM_BUILD_DIR")