summaryrefslogtreecommitdiff
path: root/build/parseFiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/parseFiles.c')
-rwxr-xr-x[-rw-r--r--]build/parseFiles.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/parseFiles.c b/build/parseFiles.c
index 7c51c3a..5894074 100644..100755
--- a/build/parseFiles.c
+++ b/build/parseFiles.c
@@ -26,6 +26,9 @@ int parseFiles(rpmSpec spec)
{ 0, 0, 0, 0, 0, NULL, NULL}
};
+ /* XXX unmask %license while parsing %files */
+ addMacro(spec->macros, "license", NULL, "%%license", RMIL_SPEC);
+
if ((rc = poptParseArgvString(spec->line, &argc, &argv))) {
rpmlog(RPMLOG_ERR, _("line %d: Error parsing %%files: %s\n"),
spec->lineNum, poptStrerror(rc));