[packages/rpm] Fix broken macro

baggins baggins at pld-linux.org
Tue Sep 4 13:06:33 CEST 2012


commit 33c1e7b71e7be3b48fde37faad2b96d2876b2ad5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Sep 4 13:06:22 2012 +0200

    Fix broken macro

 macros.pld.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/macros.pld.in b/macros.pld.in
index 45789be..2c69f1d 100644
--- a/macros.pld.in
+++ b/macros.pld.in
@@ -60,10 +60,15 @@
 %{__arch_install_post}\
 %{nil}
 
+%__spec_install_post\
+%{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
+%{__arch_install_post}\
+%{__os_install_post}\
+%{nil}
+
 #---------------------------------------------------------------------
 #	Template for debug information sub-package.
 %_enable_debug_packages		1
-%{expand:%%define __sip_%{?_enable_debug_packages} 1}%{?__sip_1:%{?__debug_package:%{__debug_install_post}}}%{expand:%%undefine __sip_%{?_enable_debug_packages}}\
 
 %debug_package \
 %ifnarch noarch\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/33c1e7b71e7be3b48fde37faad2b96d2876b2ad5



More information about the pld-cvs-commit mailing list