Garrett Holmstrom wrote:
Yumdownloader relies on repository names ending in -source to tell whether or not it should enable them when one runs ``yumdownloader --source $package'' to grab the source for an rpm. But unlike most repositories, SL's source repository is called "sl-srpms" instead of "sl-source", so the program doesn't work correctly for anything in the SL base repositories.

Is there some historical reason for SL's strange naming scheme? Is it something that can change in a later release like 6.x?

I had no idea that naming the repository had any impact on any part of yum. It's sorta a bad hack in my opinion. I would think that it would actually look at the rpm's in question.

That being said, I have no problem renaming the source repositories.

Was it historic.  Yes.
We said to ourselves
"What should we name the repository for the source rpms?"
"Well, they are always in a directory called SRPMS, let call it srpms."
"But we should distinguish it so they know it's the Scientific Linux source rpms."
"OK, then let's call it sl-srpms"
And there you have your historic moment. :)

I've never actually used yum and the source rpms.
Does yum have any way of knowing that something is a src.rpm or not ... other than a repostory name?
(I've looked in the man page and I'm not seeing anything)

Troy
--
__________________________________________________
Troy Dawson  [email protected]  (630)840-6468
Fermilab  ComputingDivision/LSCS/CSI/USS Group
__________________________________________________

Reply via email to