#!/bin/bash

dir=$(pwd)

AREPO_MODE=lib AREPO_PKGLIST=$dir/arepo-x86_64-i586.list AREPO_ARCH=i586 \
AREPO_COMPAT=$dir/glib2-2.42.2-alt1.1.i586.rpm \
AREPO_NATIVE=$dir/glib2-2.42.2-alt1.1.x86_64.rpm \
rpmrebuild -np --include arepo.plug $dir/glib2-2.42.2-alt1.1.i586.rpm


# arepo-x86_64-i586.list
# glib2-2.42.2-alt1.1.i586.rpm glib2-2.42.2-alt1.1.x86_64.rpm
