pmatilai commented on this pull request.


> @@ -345,7 +349,7 @@ static int doSetupMacro(rpmSpec spec, const char *line)
     }
 
     if (!createDir) {
-       rasprintf(&buf, "cd '%s'", spec->buildSubdir);
+       buf = rpmExpand("%{?buildsubdir:cd '%{buildsubdir}'}", NULL);

I mean, this is inside %setup macro, %buildsubdir is always defined there. The 
special case of build-in-place jumps over this whole section.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/860#discussion_r332889486
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to