Bug 595622 - binutils-devel should require base package "binutils"
Summary: binutils-devel should require base package "binutils"
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: binutils
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Andreas Schwab
QA Contact: qe-baseos-tools-bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-25 08:24 UTC by Michal Nowak
Modified: 2013-03-08 02:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-25 08:37:43 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Michal Nowak 2010-05-25 08:24:31 UTC
Description of problem:

One is able to update binutils-devel to newer version while installed old binutils.

newman@dhcp-lab-222 bz587788-ld_-r-generates-R_X86_64_NONE $ rpmquery -a binutils\*

newman@dhcp-lab-222 bz587788-ld_-r-generates-R_X86_64_NONE $ sudo yum upgrade --exclude=binutils
Loaded plugins: auto-update-debuginfo, presto, refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Found 6 installed debuginfo package(s)
Enabling rhel-brno-debuginfo: Red Hat Enterprise Linux 6 - x86_64 - Debug
Reading repository metadata in from local files
Setting up Upgrade Process
Resolving Dependencies
--> Running transaction check
---> Package binutils-devel.x86_64 0: set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

 Package            Arch       Version                     Repository     Size
 binutils-devel     x86_64        rhel-brno     681 k

Transaction Summary
Install       0 Package(s)
Upgrade       1 Package(s)

Total download size: 681 k
Is this ok [y/N]: 
Exiting on user Command

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

binutils- but also in CVS http://cvs.devel.redhat.com/cgi-bin/cvsweb.cgi/rpms/binutils/RHEL-6/binutils.spec?rev=1.138

Expected results:

Requires: %{name} = %{version}-%{release}

As written here http://fedoraproject.org/wiki/PackagingGuidelines#Requiring_Base_Package

in %package devel section.

Or is there a specific reason why binutils-devel does not require base package?

Comment 1 RHEL Program Management 2010-05-25 08:36:27 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 2 Andreas Schwab 2010-05-25 08:37:43 UTC
binutils-devel does not depend on binutils any more than any other devel package.

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