Changes

Jump to navigation Jump to search
Line 12: Line 12:  
First, I'm using mock 1.0.2 from the EPEL repository, rather than older 0.6.13 available from CentOS Extras. There are apparently backward-compatibility problems with versions of mock > 0.6, but as I'm mostly building C5 packages I decided to go with the newer version.  
 
First, I'm using mock 1.0.2 from the EPEL repository, rather than older 0.6.13 available from CentOS Extras. There are apparently backward-compatibility problems with versions of mock > 0.6, but as I'm mostly building C5 packages I decided to go with the newer version.  
   −
You need to have EPEL repository configured which can be done by installing http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
+
You need to have EPEL repository configured
 +
<syntaxhighlight lang="Bash">
 +
# Enable EPEL for Centos 6
 +
rpm -Uvh http://fr2.rpmfind.net/linux/epel/6/i386/epel-release-6-8.noarch.rpm
 +
# Enable EPEL for Centos 5
 +
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
 +
</syntaxhighlight>
    
So then the installation of mock is just:
 
So then the installation of mock is just:

Navigation menu