[packages/rpm] - don't let rpm unwind %%{load:} in echo

baggins baggins at pld-linux.org
Mon Sep 17 14:17:57 CEST 2012


commit b279f099d8155e03aacce48996b96f07d253a086
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Sep 17 14:17:29 2012 +0200

    - don't let rpm unwind %%{load:} in echo

 rpm.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpm.spec b/rpm.spec
index 0ab72d7..6578068 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -1065,7 +1065,7 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/rpm/sysinfo/Requirename
 
 # create macro loading wrappers for backward compatibility
 for m in gstreamer java mono perl php python; do
-	echo "%{load:%{_rpmlibdir}/macros.d/$m}" >$RPM_BUILD_ROOT%{_rpmlibdir}/macros.$m
+	echo "%%{load:%{_rpmlibdir}/macros.d/$m}" >$RPM_BUILD_ROOT%{_rpmlibdir}/macros.$m
 done
 
 # for rpm -e|-U --repackage
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list