Bug 384419

Summary: rpmbuild always looks for SPEC file in /usr/src/packages/SOURCES
Product: [openSUSE] openSUSE 10.3 Reporter: Bart Whiteley <bwhiteley>
Component: DevelopmentAssignee: Michael Schröder <mls>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: pth
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bart Whiteley 2008-04-28 16:39:55 UTC
If you build an RPM outside of /usr/src/packages (by manipulating topdir or some such), rpmbuild still looks in /usr/src/packages/SOURCES at one point in the build. 

Finding  Provides: /usr/lib/rpm/find-provides tog-pegasus
Finding  Requires: /usr/lib/rpm/find-requires tog-pegasus
sed: can't read /usr/src/packages/SOURCES/tog-pegasus.spec: No such file or directory
Finding  Supplements: /usr/lib/rpm/find-supplements tog-pegasus
...
Processing files: tog-pegasus-devel-2.8.0-10.1
Finding  Provides: /usr/lib/rpm/find-provides tog-pegasus
Finding  Requires: /usr/lib/rpm/find-requires tog-pegasus
sed: can't read /usr/src/packages/SOURCES/tog-pegasus.spec: No such file or directory
Finding  Supplements: /usr/lib/rpm/find-supplements tog-pegasus
...
Processing files: tog-pegasus-devel-internal-2.8.0-10.1
Finding  Provides: /usr/lib/rpm/find-provides tog-pegasus
Finding  Requires: /usr/lib/rpm/find-requires tog-pegasus
sed: can't read /usr/src/packages/SOURCES/tog-pegasus.spec: No such file or directory
Finding  Supplements: /usr/lib/rpm/find-supplements tog-pegasus
Comment 1 Michael Schröder 2008-04-30 09:22:15 UTC

*** This bug has been marked as a duplicate of bug 382936 ***