[Rpm-maint] [rpm-software-management/rpm] rpmbuild: Fix `-ts` srpm specfile name (#1397)
Panu Matilainen
notifications at github.com
Wed Dec 2 07:48:07 UTC 2020
@pmatilai commented on this pull request.
> FD_t fd = NULL;
static const char *tryspec[] = { "Specfile", "\\*.spec", NULL };
- if (!(fd = rpmMkTempFile(NULL, &specFile)))
+ specDir = rpmGetPath("%{_tmppath}", NULL);
+ if (!(fd = rpmMkTempFile(NULL, &tmpSpecFile)))
...
The other, simpler option would be going back to creating %_specdir if it doesn't exist. That was not the main target in the 4.16 change anyway, %_sourcedir was.
--
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/1397#discussion_r533957222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201201/6f21f0c7/attachment.html>
More information about the Rpm-maint
mailing list