Bug 150119

Summary: kmp packages cannot be built with rpmbuild
Product: [openSUSE] SUSE Linux 10.1 Reporter: Forgotten User OS1JNCFbCX <forgotten_OS1JNCFbCX>
Component: DevelopmentAssignee: Andreas Gruenbacher <agruen>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: pth, suse-beta
Version: Beta 4   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User OS1JNCFbCX 2006-02-10 23:13:15 UTC
When invoking rpmbuild -ba on a package with kmp subpackages it fails because /usr/lib/rpm/rpm-suse-kernel-module-subpackage scans for %name.spec in %_sourcedir. Actually when installing a source package with rpm the spec file is placed in /usr/src/packages/SPECS/ and not in /usr/src/packages/SOURCES/.

So the script should look up the other directory as well if the file is not in the one looked up first.
Comment 1 Andreas Gruenbacher 2006-02-13 11:00:43 UTC
I agree, and I'll fix it.
Comment 2 Andreas Gruenbacher 2006-02-13 14:16:59 UTC
Done, thanks.