Hello Fedora Devel List,
Im a newcomer with mock and rpmbuild.
How can I rebuild el6 packages such as Redhat?
My idea would be
yum install mock useradd mockbuild usermod -G mock mockbuild
mock rebuild -r epel-6-x86_64 /home/mockbuild/kernel-2.6.32-71.7.1.el6.src.rpm
Is that right? Should I use Fedora (13,14) or Redhat Enterprise Linux 6?
Chris
On 11/13/2010 18:15, Christopher Stolzenberg wrote:
yum install mock useradd mockbuild usermod -G mock mockbuild
Unless you want to ``su'' to a dedicated mockbuild account every time you want to build you should add your usual account to the mock group instead.
mock rebuild -r epel-6-x86_64 /home/mockbuild/kernel-2.6.32-71.7.1.el6.src.rpm
Mock typically grabs packages from CentOS, so until CentOS 6 is out you're going to have to build using RHEL 6.