corrected rpmExpand usage

This commit is contained in:
Дмитрий Левин 2005-09-29 15:50:56 +00:00
parent ce8ad9b9f0
commit 8fe647ebd6

View File

@ -1916,7 +1916,7 @@ static int processPackageFiles(Spec spec, Package pkg,
s = getStringBuf(pkg->fileList);
files = splitString(s, strlen(s), '\n');
parseForAttr(rpmExpand("%_defattr", NULL), &fl);
parseForAttr(rpmExpand("%{?_defattr}", NULL), &fl);
for (fp = files; *fp != NULL; fp++) {
s = *fp;