aboutsummaryrefslogtreecommitdiffstats
path: root/t/00prepare.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-09 08:02:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-09 08:02:35 +0000
commit8a05094bf47d44a4165996b483a43ed67ac7e1eb (patch)
tree2d950db860b39ed975294a48da9f558f0563c0a2 /t/00prepare.t
parentf50c58eae62ed4ba55760bf8348574f4b4a9decf (diff)
downloadperl-URPM-8a05094bf47d44a4165996b483a43ed67ac7e1eb.tar
perl-URPM-8a05094bf47d44a4165996b483a43ed67ac7e1eb.tar.gz
perl-URPM-8a05094bf47d44a4165996b483a43ed67ac7e1eb.tar.bz2
perl-URPM-8a05094bf47d44a4165996b483a43ed67ac7e1eb.tar.xz
perl-URPM-8a05094bf47d44a4165996b483a43ed67ac7e1eb.zip
fix test (#35398)
Diffstat (limited to 't/00prepare.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') };