1 --- rpm-4.4.3/macros.in 2005-11-19 01:19:50.657854672 +0100
2 +++ rpm-4.4.6/macros.in 2006-05-24 11:49:38.438332239 +0300
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 # "w9.gzdio" gzip level 9 (default).
14 # "w9.bzdio" bzip2 level 9.
16 -#%_source_payload w9.gzdio
17 -#%_binary_payload w9.gzdio
18 +%_source_payload w9.gzdio
19 +%_binary_payload w9.lzdio
21 # Archive formats to use for source/binary package payloads.
22 # "cpio" cpio archive (default)
24 export RPM_BUILD_ROOT}\
25 %{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\
28 + unset PERL_MM_OPT || :\
34 %{verbose:set -x}%{!verbose:exec > /dev/null}\
36 @@ -1374,4 +1374,17 @@
37 #%__executable_requires @RPMCONFIGDIR@/executabledeps.sh --requires
40 +%_enable_debug_packages 1
42 +#-----------------------------------------------------------------
43 +# CFLAGS and LDFLAGS used to build
45 +%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -ggdb}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
47 +%debugcflags -O0 -g -Wall
48 +%rpmcflags %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
49 +%rpmcxxflags %{rpmcflags}