Adjust rpmdb path for all remaining non-fakeroot runs
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 1 Apr 2011 14:48:07 +0000 (17:48 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 1 Apr 2011 14:50:08 +0000 (17:50 +0300)
commit27e8417cf3fdf5dbe0d64316dbee9a82b5039a42
treead60d5dad36f2dc9554627e62afc079baa40e7fc
parent500c6a13eafb5a3852fd91d9296ab4139a6f38d4
Adjust rpmdb path for all remaining non-fakeroot runs
- Executing rpmbuild in the fakeroot gets fairly tricky, especially
  for the tests that actually compile things. Overriding the dbpath
  prevents it from accessing system rpmdb for keyring and build-requires.
- With this patch, the test-suite now passes the smoke-test of
  "chmod go-rx /var/lib/rpm" on system rpmdb.
tests/atlocal.in
tests/local.at