summaryrefslogtreecommitdiffstats
path: root/t/02create_pkgs.t
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-03-01 01:05:30 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-03-01 01:05:30 +0000
commitdc7f77a85166e88620993c701b40bd5d1ed7a2b8 (patch)
tree5d51e9df83780e9b64121c5e9f4dd59669074b35 /t/02create_pkgs.t
parent162885a7ad8d12aa01fab2291ee3d6fabcb16236 (diff)
downloadurpmi-dc7f77a85166e88620993c701b40bd5d1ed7a2b8.tar
urpmi-dc7f77a85166e88620993c701b40bd5d1ed7a2b8.tar.gz
urpmi-dc7f77a85166e88620993c701b40bd5d1ed7a2b8.tar.bz2
urpmi-dc7f77a85166e88620993c701b40bd5d1ed7a2b8.tar.xz
urpmi-dc7f77a85166e88620993c701b40bd5d1ed7a2b8.zip
skip buildroot checks for rpm5.org
Diffstat (limited to 't/02create_pkgs.t')
-rw-r--r--t/02create_pkgs.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02create_pkgs.t b/t/02create_pkgs.t
index d9411b3c..3a333686 100644
--- a/t/02create_pkgs.t
+++ b/t/02create_pkgs.t
@@ -63,7 +63,7 @@ sub rpmbuild {
my ($spec, $o_medium_name) = @_;
my $dir = getcwd();
- system_("rpmbuild --quiet --define '_topdir $dir/tmp' --define '_tmppath $dir/tmp' -bb --clean --nodeps $spec");
+ system_("rpmbuild --quiet --define 'rpm_version %(rpm -q --queryformat \"%{VERSION}\" rpm|sed -e \"s/\\\\.//g\")' --define '_topdir $dir/tmp' --define '_tmppath $dir/tmp' -bb --clean --nodeps $spec");
my ($name) = $spec =~ m!([^/]*)\.spec$!;