Hi all,

I compile rpm and dependencies.
I would like to install everything in a custom target directory, say
$(BUILDIR)/usr, to do this I use the following switches during
configuration stage:

--prefix=$(BUILDDIR)/usr  --localstatedir=/var --sysconfdir=/etc

but if I ask about %_dbpath with

$(BUILDDIR)/bin --eval "%_dbpath" I got:
/foo/bar/path/usr/var/lib/rpm

(if BUILDDIR=/foo/bar/path/)

How can I configure it to get /usr/var/lib/rpm....?


Thanks,

pazzo
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to