1 --- rpm-4.4.3/macros.in.orig 2005-11-19 01:18:44.483914640 +0100
2 +++ rpm-4.4.3/macros.in 2005-11-19 01:19:50.657854672 +0100
6 # Path to top of build area.
7 -%_topdir %{_usrsrc}/rpm
8 +%_topdir %(echo $HOME)/rpm
10 # The path to the unzip executable (legacy, use %{__unzip} instead).
13 export RPM_BUILD_ROOT}\
14 %{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\
17 + unset PERL_MM_OPT || :\
23 %{verbose:set -x}%{!verbose:exec > /dev/null}\
25 @@ -1373,5 +1373,18 @@
26 #%__executable_provides @RPMCONFIGDIR@/executabledeps.sh --provides
27 #%__executable_requires @RPMCONFIGDIR@/executabledeps.sh --requires
30 +%_enable_debug_packages 1
32 +#-----------------------------------------------------------------
33 +# CFLAGS and LDFLAGS used to build
35 +%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -ggdb}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
37 +%debugcflags -O0 -g -Wall
38 +%rpmcflags %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
39 +%rpmcxxflags %{rpmcflags}