[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [RFH] Managing the rpm/{SPECS,SOURCES} namespace



On Fri, Nov 12, 2004 at 09:12:06AM -0500, Dimitrie O. Paun wrote:

> [dimi@dimi ~]$ find /tmp/rpmbuilder-11253
> /tmp/rpmbuilder-11253
> /tmp/rpmbuilder-11253/.rpmmacros
> /tmp/rpmbuilder-11253/rpm
> /tmp/rpmbuilder-11253/rpm/tmp
> /tmp/rpmbuilder-11253/rpm/SPECS
> /tmp/rpmbuilder-11253/rpm/SOURCES
> /tmp/rpmbuilder-11253/rpm/SRPMS
> [dimi@dimi ~]$ cat /tmp/rpmbuilder-11253/.rpmmacros
> %_topdir                /tmp/rpmbuilder-11253/rpm
> %_tmppath               /tmp/rpmbuilder-11253/rpm/tmp
> [dimi@dimi ~]$ rpm --rcfile /tmp/rpmbuilder-11253/.rpmmacros -i ../../download/kernel-2.6.9-1.667.src.rpm
> error: missing ':' (found 0x2f) at /tmp/rpmbuilder-11253/.rpmmacros:1

The .rpmmacros file is *not* an rcfile (that's not needed here).
So, just use

   HOME=/tmp/rpmbuilder-11253 rpm -i ...

-- 
--    Jos Vos <jos@xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]