]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- branch specific rpm macros
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 2 Nov 2005 22:27:19 +0000 (22:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-macros.patch -> 1.24

rpm-macros.patch [new file with mode: 0644]

diff --git a/rpm-macros.patch b/rpm-macros.patch
new file mode 100644 (file)
index 0000000..3257e0d
--- /dev/null
@@ -0,0 +1,30 @@
+--- ./macros.in~       2005-10-30 16:24:30.000000000 +0200
++++ ./macros.in        2005-10-30 16:24:32.000000000 +0200
+@@ -223,7 +223,7 @@
+ %_tmppath             %{_var}/tmp
+ #     Path to top of build area.
+-%_topdir              %{_usrsrc}/redhat
++%_topdir         %(echo $HOME)/rpm
+ #     The path to the unzip executable (legacy, use %{__unzip} instead).
+ %_unzipbin            %{__unzip}
+@@ -1276,5 +1276,18 @@
+ #
+ %find_lang    @RPMCONFIGDIR@/find-lang.sh %{buildroot}
++# PLD rpm macros
++%_enable_debug_packages 1
++
++#-----------------------------------------------------------------
++# CFLAGS and LDFLAGS used to build
++
++%debuginfocflags      %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -ggdb}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
++
++%debugcflags  -O0 -g -Wall
++%rpmcflags    %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
++%rpmcxxflags  %{rpmcflags}
++%rpmldflags   %{nil}
++
+ # \endverbatim
+ #*/
This page took 0.047449 seconds and 4 git commands to generate.