LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Michael T Pope <mpope@internode.on.net>
  To  : <michaeld@senet.com.au>
  Date: Mon, 30 Jul 2001 22:33:05 +0930

Re: Building RPMs

michaeld@senet.com.au writes:

> Anyone out there done much of building RPMs?

Enough to have discovered, as you have, that "Maximum RPM" is badly
out of date.
 
> So I try this, but when I do a 
> 
> rpm --initdb --dbpath /home/mdavies/rpm/database
> 
> to start my own database (ie I don't have access to /var/lib/rpm/* either :-( I 
> get the following:
> 
> bad option 'topdir' at /home/mdavies/.rpmrc:1

Not pretty.  I have given up on .rpmrc and defined a shell alias for
frobbing my rpm database.  The base command is:

  rpm --define '_topdir /home/mpope/rpm' --dbpath /home/mpope/rpm/db

which I worked out by reading stuff in /usr/lib/rpm.

Cheers,
Mike Pope

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page