Article View: news.software.nntp
Article #61333Re: RPM: is it too specific to dependecies?
From: Brett E. Dufault
Date: Sat, 12 Oct 2002 03:24
Date: Sat, 12 Oct 2002 03:24
29 lines
2588 bytes
2588 bytes
On Friday 11 October 2002 09:46 pm, Raqueeb Hassan wrote: > Now, I wonder, how do i rebuild a rpm from its src.rpm, please? As root, run 'rpmbuild -bb --clean foo.src.rpm'. If it builds successfully, you'll find the rebuilt RPM under the /usr/src/redhat/RPMS directory tree (typically in the i386 and/or noarch subdirs). The "-bb" says to "build the binary package", the "--clean" means to clean up the build tree (under /usr/src/redhat/BUILD) afterwards. Note: You'll sometimes have to install additional development RPMs in order to rebuild a src.rpm file. These'll normally show up just like any other missing dependency. Track down the blahblah-devel-1.2.3-4.i386.rpm file, install it, and run the rpmbuild command again. Note: For inn, the following won't matter, but if you get into building kernels or other power-hungry apps, you might want to check into the '--target' option on the rpmbuild manpage -- this can be used to enable optimizations for specific classes of processor. (This is where those .i586.rpm, .i686.rpm, .athlon.rpm RPMs come from.) For most apps, there's little to be gained from this. (It's not like you can download news faster by having those MMX/3DNow instructions enabled. :-) But for a kernel or 3-D animation package, this could be useful. Cheers! --Brett
Technical Details
Message-ID:
<IBMp9.8061$rz6.724@sccrnsc02>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.networking.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-server.caltech.edu!attla2!ip.att.net!attbi_feed3!attbi.com!sccrnsc02.POSTED!not-for-mailReferences:
<2545b34c.0210092001.6342cf08@posting.google.com> <slrnaqa02t.mmr.hal@localhost.localdomain> <2545b34c.0210111746.a489b70@posting.google.com>Show Full Headers
Complete Article Headers
Message-ID: <IBMp9.8061$rz6.724@sccrnsc02> Subject: Re: RPM: is it too specific to dependecies? Date: Sat, 12 Oct 2002 03:24:25 GMT From: "Brett E. Dufault" <bdufault@ehugin.NO.SPAM.PLEASE.com> References: <2545b34c.0210092001.6342cf08@posting.google.com> <slrnaqa02t.mmr.hal@localhost.localdomain> <2545b34c.0210111746.a489b70@posting.google.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.networking.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-server.caltech.edu!attla2!ip.att.net!attbi_feed3!attbi.com!sccrnsc02.POSTED!not-for-mail Newsgroups: comp.os.linux.networking,news.software.nntp Followup-To: comp.os.linux.networking Lines: 28 User-Agent: KNode/0.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 66.30.195.61 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1034393064 66.30.195.61 (Sat, 12 Oct 2002 03:24:24 GMT) NNTP-Posting-Date: Sat, 12 Oct 2002 03:24:24 GMT Organization: AT&T Broadband