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

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

 



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@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux