FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 11-13-2010, 11:15 PM
Christopher Stolzenberg
 
Default build rpm packages such as Redhat/Fedora

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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-14-2010, 04:36 PM
Garrett Holmstrom
 
Default build rpm packages such as Redhat/Fedora

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.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 03:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org