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).
12 @@ -1373,5 +1373,18 @@
13 #%__executable_provides @RPMCONFIGDIR@/executabledeps.sh --provides
14 #%__executable_requires @RPMCONFIGDIR@/executabledeps.sh --requires
17 +%_enable_debug_packages 1
19 +#-----------------------------------------------------------------
20 +# CFLAGS and LDFLAGS used to build
22 +%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -ggdb}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
24 +%debugcflags -O0 -g -Wall
25 +%rpmcflags %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
26 +%rpmcxxflags %{rpmcflags}