]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-macros.patch
- updated for 4.4.3
[packages/rpm.git] / rpm-macros.patch
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
3 @@ -219,7 +219,7 @@
4  %_tmppath              %{_var}/tmp
5  
6  #      Path to top of build area.
7 -%_topdir               %{_usrsrc}/rpm
8 +%_topdir               %(echo $HOME)/rpm
9  
10  #      The path to the unzip executable (legacy, use %{__unzip} instead).
11  %_unzipbin             %{__unzip}
12 @@ -1373,5 +1373,18 @@
13  #%__executable_provides        @RPMCONFIGDIR@/executabledeps.sh --provides
14  #%__executable_requires        @RPMCONFIGDIR@/executabledeps.sh --requires
15  
16 +# PLD rpm macros
17 +%_enable_debug_packages 1
18 +
19 +#-----------------------------------------------------------------
20 +# CFLAGS and LDFLAGS used to build
21 +
22 +%debuginfocflags       %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -ggdb}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
23 +
24 +%debugcflags   -O0 -g -Wall
25 +%rpmcflags     %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
26 +%rpmcxxflags   %{rpmcflags}
27 +%rpmldflags    %{nil}
28 +
29  # \endverbatim
30  #*/
This page took 0.032816 seconds and 4 git commands to generate.