SCIENTIFIC-LINUX-DEVEL Archives

April 2015

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for Scientific Linux developers worldwide <[log in to unmask]>
Date:
Fri, 24 Apr 2015 17:25:26 +0200
Reply-To:
Dirk Hoffmann <[log in to unmask]>
Subject:
From:
Dirk Hoffmann <[log in to unmask]>
Content-Type:
text/plain; charset="US-ASCII"; format=flowed
In-Reply-To:
MIME-Version:
1.0
Comments:
Parts/Attachments:
text/plain (17 lines)
> One final note.  If you want to download the source code of packages you
> have installed, you can do this:
>
>  $ yumdownloader --source kernel
>
> Doing an 'rpm -i' will then unpack the src.rpm into ~/rpmbuild.  And
> going into ~/rpmbuild/SPECS/, you can do:
>
>  $ rpmbuild -bp kernel.spec
>
> Then you'll get the complete kernel code unpacked and patched, ready to
> be reviewed in ~/rpmbuild/BUILD/kernel-.....  Replacing -bp with -bb
> will build the RPMs.   But for building, I rather recommend using 'mock'.

Thank you very much David, that is exactly what I wanted to do!
 									Dirk

ATOM RSS1 RSS2