Bug 115151 - rpmbuild -r $wrk -bp some.spec
Summary: rpmbuild -r $wrk -bp some.spec
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 1
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-07 01:12 UTC by Philip A. Ashmore
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-02-07 02:22:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Philip A. Ashmore 2004-02-07 01:12:01 UTC
Description of problem:
rpmbuild seems to ignore the -r option when invoked as
$ rpmbuild -r 'dir' -bp some.spec 
It always looks for the source tarball in /usr/src/redhat/SOURCES
instead of 'dir/usr/src/redhat/SOURCES'

Version-Release number of selected component (if applicable): 4.2.1


How reproducible:
very. I've used doxygen as an example here.

Steps to Reproduce:
1. mkdir -p ~/work/usr/src/redhat/SOURCES ~/work/usr/src/redhat/SPECS
2. cd ~/work
1. wrk=~/work
2. rpm -i --root=$wrk $SRPMS/doxygen-1.3.4-1.src.rpm
3. specdir=$wrk/usr/src/redhat/SPECS
3. rpmbuild -r $wrk -bp $specdir/doxygen.spec
  
Actual results:
rpm complains about NOKEY but otherwise does its job.
error: File /usr/src/redhat/SOURCES/doxygen-1.3.4.src.tar.gz: No such
file or directory

Expected results:
rpm and rpmbuild should extract and patch the sources from the RPM
ready for compilation.

Additional info:

None.

Comment 1 Jeff Johnson 2004-02-07 02:22:59 UTC
rpmbuild -r needs other configuration to be useful.

unsupoorted, but feel free to play. yes, no hints. ;-)


Note You need to log in before you can comment on or make changes to this bug.