[CentOS] CentOS source rpm repository setup

Tue May 21 13:53:00 UTC 2013
Toralf Lund <toralf.lund at pgs.com>


I thought I might set up my CentOS 6 system with a source rpm repository 
config, so that I'll be able to download srpm files via "yumdownloader 
--source" or similar. I'm thinking that in order to this, I have to add 
something like the following to the yum repos config:

    name=CentOS-$releasever - Base (SRPMS)

    #released updates
    name=CentOS-$releasever - Updates (SRPMS)

The question is, what I specify as "baseurl"? The above does not 
actually work, as http://mirror.centos.org/ does not have SRPMS 
subdirectories, although I believe it did in the past for earlier 
versions. So, does anyone know of URLs I can use instead?


- Toralf

This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.