SOURCES: rpm-macros.patch (NEW) - branch specific rpm macros
glen
glen at pld-linux.org
Wed Nov 2 23:27:24 CET 2005
Author: glen Date: Wed Nov 2 22:27:24 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- branch specific rpm macros
---- Files affected:
SOURCES:
rpm-macros.patch (1.23 -> 1.24) (NEW)
---- Diffs:
================================================================
Index: SOURCES/rpm-macros.patch
diff -u /dev/null SOURCES/rpm-macros.patch:1.24
--- /dev/null Wed Nov 2 23:27:24 2005
+++ SOURCES/rpm-macros.patch Wed Nov 2 23:27:19 2005
@@ -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
+ #*/
================================================================
More information about the pld-cvs-commit
mailing list