[CentOS] build c7 packages for i686 using mock

Fri Jan 30 02:38:05 UTC 2015
Peter <peter at pajamian.dhs.org>

On 01/30/2015 11:56 AM, Gordon Messmer wrote:
> This might be an embarrassingly simple question.  How are people
> building multi-arch library packages on CentOS 7?  On older releases one
> could "mock -r epel-6-i386" and "mock -r epel-6-x86_64" to build a
> library twice.  With no 32-bit release, there's no epel-7-i386 target
> for mock.  Specifying --target=i386 or --arch-i386 both fail.
> 
> Do we have to set up the environment manually and rpm --rebuild inside
> the mock root?

copy the epel-7-x86_64.cfg file to epel-7-i386, and then tweak.  You can
set the main CentOS repo to http://buildlogs.centos.org/c7.00.02/ or
point it to the puias repos.


Peter