🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61361

Re: RPM: is it too specific to dependecies?

#61361
From: Brett E. Dufault
Date: Sat, 12 Oct 2002 18:52
38 lines
2937 bytes
On Saturday 12 October 2002 07:20 am, Raqueeb Hassan wrote:

> Thanks a lot for the instructions on re-building the src.rpm.

Now if only I'd posted the *correct* instructions.  :-(  As Rex pointed 
out, I fubar'ed those pretty badly -- apologies for that.  Rex's syntax is 
(of course :-) correct, and my first step should've read:

        rpmbuild --rebuild foo.src.rpm

> what I was thinking about the paths of different files. Like while
> building INN, the author has to locate the paths (like, for INN,
> /var/lib/news, /var/spool/news, /etc/news, ...... ) of each files
> cause the rpm installer has to where to the files.
> 
> So, while re-building it, should I have to specify all the paths,
> please?

For inn, there's nothing extra you have to do -- the RPM specification file 
contained inside the .src.rpm will properly configure the directories used 
by the inn programs, and the binary RPM (i.e., the inn-w.x.y-z.i368.rpm) 
that gets created from rebuilding the src.rpm will create these directories 
when it's installed.

By and large, Red Hat's src.rpm files are very good about configuring 
directory paths, and ensuring that these directories are created properly 
when the binary RPM is installed.  (So far I've only encountered one Red 
Hat RPM that didn't create a support directory.)

If you ever *did* need to specify or change the paths for a package, you'd 
usually do this by editing the RPM specification (.spec) file inside the 
.src.rpm -- that's the file that controls how a program is configured, 
built, installed, removed, etc.

Cheers + apologies!
--Brett

Technical Details
Message-ID: <yb_p9.15180$rz6.2679@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!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail
References: <2545b34c.0210092001.6342cf08@posting.google.com> <2545b34c.0210111746.a489b70@posting.google.com> <IBMp9.8061$rz6.724@sccrnsc02> <2545b34c.0210120320.30c2b574@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <yb_p9.15180$rz6.2679@sccrnsc02>
Subject: Re: RPM: is it too specific to dependecies?
Date: Sat, 12 Oct 2002 18:52:14 GMT
From: "Brett E. Dufault" <bdufault@ehugin.NO.SPAM.PLEASE.com>
References: <2545b34c.0210092001.6342cf08@posting.google.com> <2545b34c.0210111746.a489b70@posting.google.com> <IBMp9.8061$rz6.724@sccrnsc02> <2545b34c.0210120320.30c2b574@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!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail
Newsgroups: comp.os.linux.networking,news.software.nntp
Followup-To: comp.os.linux.networking
Lines: 37
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 1034448734 66.30.195.61 (Sat, 12 Oct 2002 18:52:14 GMT)
NNTP-Posting-Date: Sat, 12 Oct 2002 18:52:14 GMT
Organization: AT&T Broadband