diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-10-23 15:41:24 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-10-23 15:41:24 +0900 |
commit | 3ebbe6a9cacaa9356d0a8488ed083f4a45a5b532 (patch) | |
tree | 7eb4f47db694670991900b2f240e699d2eca7e22 /build/parseFiles.c | |
parent | bceda01e970b75fd3a50774e0324a6b18b195902 (diff) | |
download | rpm-accepted/tizen_2.4_base.tar.gz rpm-accepted/tizen_2.4_base.tar.bz2 rpm-accepted/tizen_2.4_base.zip |
tizen 2.4 releasetizen_2.4_mobile_releasesubmit/tizen_2.4_base/20151026.091542accepted/tizen/2.4/base/20151026.115341tizen_2.4_baseaccepted/tizen_2.4_base
Diffstat (limited to 'build/parseFiles.c')
-rwxr-xr-x[-rw-r--r--] | build/parseFiles.c | 3 |
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)); |