Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpmbuild: Fix -ts srpm specfile name #1397

Closed
wants to merge 1 commit into from

Commits on Oct 13, 2020

  1. rpmbuild: Fix -ts srpm specfile name

    This mostly reverts acf5e00
    
    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: rpm-software-management#1386
    
    Signed-off-by: Cole Robinson <crobinso@redhat.com>
    crobinso committed Oct 13, 2020
    Copy the full SHA
    4acf924 View commit details
    Browse the repository at this point in the history