[Yum] yum package name

Maurizio Vitale mav at cuma.polymath-solutions.lan
Thu Feb 26 03:27:40 UTC 2009


Another issue with my crosscompilers. I need to have multiple versions
of these (cross)-gcc installed, hence I've made the version number part
of the package name (by means of 
%define _rpmfilename %%{ARCH}/%%{NAME}-%%{release}-%%{ARCH}.rpm).

The rpm comes out ok and, as far as I can tell references in the
repodata created by createrepo are ok.
Still yum seems adamant that the name should be
NAME-VERSION-RELEASE-ARCH.rpm (note the extra VERSION which duplicates
info already present in the NAME part).
This is what is displayed in the list of available packages (sans the
.rpm) and what yum tries to download (without success).

Now, I could clearly make the RPMs conform to yum ideas (with a repeated
version number), but I was wondering where yum was getting the name
from and if the package naming was hardwired or not.

TIA,

        Maurizio





More information about the Yum mailing list