summaryrefslogtreecommitdiff
path: root/build/parsePrep.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-14 19:52:11 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-14 19:52:11 +0200
commit55cb2ff12836f124d5f8114a3c0d4246ec8fa7a0 (patch)
tree20a312fedbb67f1ef4ef5aa235ac5235d8db8eaf /build/parsePrep.c
parent61e35657a6e3ce33a44067e82bb382b8b3133c4a (diff)
downloadlibrpm-tizen-55cb2ff12836f124d5f8114a3c0d4246ec8fa7a0.tar.gz
librpm-tizen-55cb2ff12836f124d5f8114a3c0d4246ec8fa7a0.tar.bz2
librpm-tizen-55cb2ff12836f124d5f8114a3c0d4246ec8fa7a0.zip
Bogus const removal continued...
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r--build/parsePrep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index f20f8666f..13a130b58 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -408,8 +408,7 @@ static int doSetupMacro(rpmSpec spec, char *line)
const char ** fm;
for (fm = fixmacs; *fm; fm++) {
- const char *fix;
- fix = rpmExpand(*fm, " .", NULL);
+ char * fix = rpmExpand(*fm, " .", NULL);
if (fix && *fix != '%')
appendLineStringBuf(spec->prep, fix);
fix = _free(fix);