Ticket #137 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

[PATCH] use the right variable for absolute path


Reported by: agriffis Assigned to: RpmTickets Priority: minor Milestone: rpm-4.9.0 Component: rpm Version: RPM Development Keywords: patch Cc:


Description

Patch attached to fix the problem where rpm attempts to use the tarball as the specfile. This is due to a simple coding error.

$ /usr/bin/rpmbuild --define='_topdir work/foo' -ta work/foo-0.9.tar.gz 
error: File /home/agriffis/work/foo-0.9.tar.gz does not appear to be a specfile.

Fixing this reveals other problems when dealing with relative paths, but the fix for this specific problem is obvious at least.

Attachments

80_relative-tarball.patch (318 bytes) - added by agriffis on 02/12/10 14:20:19.

Change History

02/12/10 14:20:19 changed by agriffis

  • attachment 80_relative-tarball.patch added.

10/06/10 07:56:39 changed by pmatilai

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to rpm-4.9.0.

Applied, thanks for the patch. And sorry about the ridiculous delay :-/