corrected rpmExpand usage
This commit is contained in:
parent
ce8ad9b9f0
commit
8fe647ebd6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user