SOURCES: rpm.macros - restore %{debug_package}, this time in %prep...
glen
glen at pld-linux.org
Wed Jan 30 22:04:33 CET 2008
Author: glen Date: Wed Jan 30 21:04:33 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- restore %{debug_package}, this time in %prep overload
---- Files affected:
SOURCES:
rpm.macros (1.421 -> 1.422)
---- Diffs:
================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.421 SOURCES/rpm.macros:1.422
--- SOURCES/rpm.macros:1.421 Wed Jan 30 11:58:49 2008
+++ SOURCES/rpm.macros Wed Jan 30 22:04:27 2008
@@ -205,6 +205,14 @@
%{?configure_cache:--cache-file=%{configure_cache_file:-%{buildroot}.configure.cache}} \
}
+# overload to insert debuginfo package
+%prep \
+%if 0%{?_enable_debug_packages}\
+%{debug_package}\
+%endif\
+%%prep\
+%{nil}
+
# Location of autoconf macros
%_aclocaldir %(aclocal --print-ac-dir)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm.macros?r1=1.421&r2=1.422&f=u
More information about the pld-cvs-commit
mailing list