When you use Fedora older version you might get following error and spend hours and hours to solve the problem.
yum install libcurl-devel
Setting up Install Process
Setting up repositories
And here is the solution:
You need to edit all the files in (end with .repo) /etc/yum.repos.d/, and update the baseURI to following