aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/00prepare.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/00prepare.t b/t/00prepare.t
index fc29900..67ce859 100644
--- a/t/00prepare.t
+++ b/t/00prepare.t
@@ -10,7 +10,7 @@ for (qw(BUILD RPMS RPMS/noarch tmp)) {
mkdir $_;
}
# locally build a test rpm
-system(rpmbuild => '--define', '_topdir .', '--define', '_tmppath ' . Cwd::cwd() . '/tmp/', '-bb', 'test-rpm.spec');
+system(rpmbuild => '--define', '_topdir .', '--define', '_sourcedir .', '--define', '_tmppath ' . Cwd::cwd() . '/tmp/', '-bb', 'test-rpm.spec');
ok( -f 'RPMS/noarch/test-rpm-1.0-1mdk.noarch.rpm', 'rpm created' );
END { system('rm -rf BUILD tmp') };