LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Geoffrey D. Bennett <g@netcraft.com.au>
  To  : <michaeld@senet.com.au>
  Date: Mon, 30 Jul 2001 23:06:54 +0930

Re: Building RPMs

> topdir: /home/mdavies/rpm
> 
> 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
> 
> which indicates that the rpmrc file has changed format during v3 to v4 of rpm.

Try creating a file .rpmmacros with the following:

%_topdir        /home/mdavies/rpm

-- 
Geoffrey D. Bennett, RHCE, RHCX               geoffrey@netcraft.com.au
Senior Systems Engineer           http://www.netcraft.com.au/geoffrey/
NetCraft Australia Pty Ltd           http://www.netcraft.com.au/linux/

-- 
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