summaryrefslogtreecommitdiff
path: root/build/parseFiles.c
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-23 15:41:24 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-23 15:41:24 +0900
commit3ebbe6a9cacaa9356d0a8488ed083f4a45a5b532 (patch)
tree7eb4f47db694670991900b2f240e699d2eca7e22 /build/parseFiles.c
parentbceda01e970b75fd3a50774e0324a6b18b195902 (diff)
downloadrpm-accepted/tizen_2.4_base.tar.gz
rpm-accepted/tizen_2.4_base.tar.bz2
rpm-accepted/tizen_2.4_base.zip
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));