Red Hat Bugzilla – Bug 227801
Yum package from fedora updates contains distroverpkg=redhat-release
Last modified: 2014-01-21 17:57:21 EST
Description of problem:
The default yum configuration for fedora is invalid
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install yum
/etc/yum.conf has distroverpkg=redhat-release
/etc/yum.conf has distroverpkg=fedor-arelease
For some reason, yum still works, but installs packages for fedora core 7, even
though I have fedora core 6 installed.
when looking up distrover yum does the equivalent of:
rpm --whatprovides redhat-release
which returns fedora-release on fedora and centos-release on centos, and
redhat-release on rhel.
it is so it works everywhere.