1. With .rpmrc file present in home directory [brijesh@localhost brijesh]$ cat .rpmrc macrofiles:/usr/lib/rpm/marocs:~./rpmmarocs [brijesh@localhost brijesh]$ cat .rpmmacros %_topdir /home/brijesh/myrpms [brijesh@localhost brijesh]$ rpm --showrc | grep topdir -15: _builddir %{_topdir}/BUILD -15: _rpmdir %{_topdir}/RPMS -15: _sourcedir %{_topdir}/SOURCES -15: _specdir %{_topdir}/SPECS -15: _srcrpmdir %{_topdir}/SRPMS -15: _topdir %{_usr}/src/redhat 2. After deleting .rpmrc from home directory. [brijesh@localhost brijesh]$ rpm --showrc | grep topdir -14: _builddir %{_topdir}/BUILD -14: _rpmdir %{_topdir}/RPMS -14: _sourcedir %{_topdir}/SOURCES -14: _specdir %{_topdir}/SPECS -14: _srcrpmdir %{_topdir}/SRPMS -14: _topdir /home/brijesh/myrpms --Brijesh On Sat, 16 Oct 2004 19:31:29 +0200, Jos Vos <jos@xxxxxx> wrote: > On Sat, Oct 16, 2004 at 05:41:11PM +0530, Brijesh.ksingh@xxxxxxxxx wrote: > > > %_topdir in ~/.rmpmacros did not work for me. Any other suggestion. > > Sorry to say, but that *should* work, I use it this way since ages. > What does "rpm --showrc | grep topdir" now say? > > -- > -- Jos Vos <jos@xxxxxx> > -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 > -- Amsterdam, The Netherlands | Fax: +31 20 6948204 > -- Regards, Brijesh <brijesh.ksingh@xxxxxxxxx> _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list