diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-12-15 15:32:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-12-15 15:32:42 +0000 |
commit | 1fb83351026f30fe8d7c374a4e851ae1f30d1987 (patch) | |
tree | 7c8ef9585991cd45b749fc71581bff31684f0cc2 /t/superuser--srpm-bootstrapping.t | |
parent | a0030562e8b7f9547151ba7e4bcca738f966e68e (diff) | |
download | urpmi-1fb83351026f30fe8d7c374a4e851ae1f30d1987.tar urpmi-1fb83351026f30fe8d7c374a4e851ae1f30d1987.tar.gz urpmi-1fb83351026f30fe8d7c374a4e851ae1f30d1987.tar.bz2 urpmi-1fb83351026f30fe8d7c374a4e851ae1f30d1987.tar.xz urpmi-1fb83351026f30fe8d7c374a4e851ae1f30d1987.zip |
- adapt tests to rpm 4.6:
o old suggests format is no more handled
o buildroot handling changed
o build directories for root changed
- fix buildroot_default.spec: was broken since %{rpm_version} is not defined
Diffstat (limited to 't/superuser--srpm-bootstrapping.t')
-rw-r--r-- | t/superuser--srpm-bootstrapping.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/superuser--srpm-bootstrapping.t b/t/superuser--srpm-bootstrapping.t index a6c21a26..ff614718 100644 --- a/t/superuser--srpm-bootstrapping.t +++ b/t/superuser--srpm-bootstrapping.t @@ -28,11 +28,11 @@ sub test { sub install_src_rpm { my ($para) = @_; - system_('mkdir -p root/usr/src/rpm/SOURCES'); + system_('mkdir -p root/root/rpmbuild/SOURCES'); - $ENV{HOME} = '/'; + $ENV{HOME} = '/root'; urpmi("--install-src $para"); - system_("cmp root/usr/src/rpm/SPECS/$name.spec data/SPECS/$name.spec"); + system_("cmp root/root/rpmbuild/SPECS/$name.spec data/SPECS/$name.spec"); system_('rm -rf root/usr/src/rpm'); } |