Bug 772522

Summary: missing rpmdevtools BuildRequires
Product: [Fedora] Fedora Reporter: Rik van Riel <riel>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-02 15:00:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Rik van Riel 2012-01-09 03:26:32 UTC
Description of problem:


The Fedora kernel now requires the rpmdevtools package to build, specifically rpmdev-bumpspec. However, rpmdevtools is not listed as a BuildRequires.

Comment 1 Josh Boyer 2012-01-09 14:30:08 UTC
rpmdev-bumpspec is only used in the top level Makefile if you are doing 'make debug' or 'make relese'.  Neither of those are run during the RPM build itself.  The current rawhide kernel has this addition in the makefile, but rpmdevtools isn't included in the buildroot at all.

I don't think a BR is actually needed, unless you are seeing something I'm not.

Comment 2 Rik van Riel 2012-01-09 15:20:52 UTC
I cloned the Fedora kernel git tree, then did these commands:

$ make nodebug nodebuginfo

At that point, it complains about a missing rpmdev-bumpspec. You are right, however, that I did not verify whether or not the kernel would still build without the spec having been bumped :)

Comment 3 Josh Boyer 2012-01-09 15:46:18 UTC
(In reply to comment #2)
> I cloned the Fedora kernel git tree, then did these commands:
> 
> $ make nodebug nodebuginfo

Right, that's never run during the RPM build.

> At that point, it complains about a missing rpmdev-bumpspec. You are right,
> however, that I did not verify whether or not the kernel would still build
> without the spec having been bumped :)

We could still add a BR for it, but that isn't even going to solve the problem you hit because we aren't even doing anything with RPM at that point.

Comment 4 Josh Boyer 2012-02-02 15:00:50 UTC
I think we'll close this bug out now given the conversation above.