Clark Williams wrote:
...
Yup, the rpmdb in the chroot is built with the host rpm, not the one
installed in the chroot. To query what's in the chroot, try this:
$ rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph
rpm --root $(mock -r fedora-devel-x86_64 --print-root-path) -q igraph
package igraph is not installed
But why isn't it installed? As I showed, I did:
mock -r fedora-devel-x86_64 --install
~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph-0.5.2-1.fc11.x86_64.rpm
mock -r fedora-devel-x86_64 --install
~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph-
devel-0.5.2-1.fc11.x86_64.rpm
mock -r fedora-devel-x86_64 --install
~/fedora/igraph/devel/igraph-0_5_2-1_fc12/igraph-
debuginfo-0.5.2-1.fc11.x86_64.rpm
mock -r fedora-devel-x86_64 --rebuild --no-clean
python-igraph-0.5.2-2.fc12.src.rpm
Notice I used --no-clean.