[Rpm-maint] [rpm-software-management/rpm] rpmbuild: Fix `-ts` srpm specfile name (#1397)
Cole Robinson
notifications at github.com
Tue Oct 13 00:23:03 UTC 2020
This mostly reverts acf5e00281d7
After that commit, the source spec file name from the tarball is
not preserved in the src.rpm, and instead looks like rpm-tmp.57WuUk.
This mostly reverts the filename handling to the previous state.
The spec is extracted from the tar file to a %{_tmppath}/$TMPNAME.
This is then renamed to %{_tmppath}/$ORIGINAL_BASENAME.
The stated aim of the original commit was to remove creation of
_sourcedir and _specdir, which is unchanged. After this revert,
_tmppath is used for spec storing where previously before the offending
commit _specdir was used. But when I revived that piece the test
suite had some failures.
Maybe this requires a bigger change, or a full revert of the
original patch.
Resolves: #1386
Signed-off-by: Cole Robinson <crobinso at redhat.com>
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1397
-- Commit Summary --
* rpmbuild: Fix `-ts` srpm specfile name
-- File Changes --
M rpmbuild.c (37)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1397.patch
https://github.com/rpm-software-management/rpm/pull/1397.diff
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201012/51d5f403/attachment.html>
More information about the Rpm-maint
mailing list