]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-macros.patch
- branch specific rpm macros
[packages/rpm.git] / rpm-macros.patch
CommitLineData
e493253e
ER
1--- ./macros.in~ 2005-10-30 16:24:30.000000000 +0200
2+++ ./macros.in 2005-10-30 16:24:32.000000000 +0200
3@@ -223,7 +223,7 @@
4 %_tmppath %{_var}/tmp
5
6 # Path to top of build area.
7-%_topdir %{_usrsrc}/redhat
8+%_topdir %(echo $HOME)/rpm
9
10 # The path to the unzip executable (legacy, use %{__unzip} instead).
11 %_unzipbin %{__unzip}
12@@ -1276,5 +1276,18 @@
13 #
14 %find_lang @RPMCONFIGDIR@/find-lang.sh %{buildroot}
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.029633 seconds and 4 git commands to generate.