projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a766c0
)
Escape '%' in format
author
Jindrich Novy
<jnovy@redhat.com>
Fri, 4 Apr 2008 11:48:02 +0000
(13:48 +0200)
committer
Jindrich Novy
<jnovy@redhat.com>
Fri, 4 Apr 2008 11:49:13 +0000
(13:49 +0200)
build/spec.c
patch
|
blob
|
history
diff --git
a/build/spec.c
b/build/spec.c
index
3089f4d
..
d4d8ab7
100644
(file)
--- a/
build/spec.c
+++ b/
build/spec.c
@@
-606,7
+606,7
@@
printNewSpecfile(rpmSpec spec)
if (h == NULL)
continue;
- rasprintf(&fmt, "%{%s}", tn);
+ rasprintf(&fmt, "%
%
{%s}", tn);
msgstr = _free(msgstr);
/* XXX this should use queryHeader(), but prints out tn as well. */