First get the yum-utils package if you don’t already have it:
yum install yum-utils
Next just do:
yumdownloader --source mypkg
where mypkg is the package that you want source for.
First get the yum-utils package if you don’t already have it:
yum install yum-utils
Next just do:
yumdownloader --source mypkg
where mypkg is the package that you want source for.