aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-09 12:53:48 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-09 12:53:48 +0000
commit6a41ca798367d45ee927700efa2d616bd2f2fe1d (patch)
treec25e5453a5e952230a9e2931b479a90704909209 /URPM.xs
parentd0b9de36bc70bbf05c1b30901736c23306f20d0e (diff)
downloadperl-URPM-6a41ca798367d45ee927700efa2d616bd2f2fe1d.tar
perl-URPM-6a41ca798367d45ee927700efa2d616bd2f2fe1d.tar.gz
perl-URPM-6a41ca798367d45ee927700efa2d616bd2f2fe1d.tar.bz2
perl-URPM-6a41ca798367d45ee927700efa2d616bd2f2fe1d.tar.xz
perl-URPM-6a41ca798367d45ee927700efa2d616bd2f2fe1d.zip
Make URPM::add_macro expand literal \n to \\\n in macro definitions.
add URPM::add_macro_noexpand to get the old (rpmlib like) behaviour
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 840a0ea..ce42e87 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3627,7 +3627,7 @@ expand(name)
XPUSHs(sv_2mortal(newSVpv(value, 0)));
void
-add_macro(macro)
+add_macro_noexpand(macro)
char * macro
CODE:
rpmDefineMacro(NULL, macro, RMIL_DEFAULT);