aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-12-07 13:19:33 +0000
committerFlorent Villard <warly@mandriva.com>2006-12-07 13:19:33 +0000
commit8bb37046328cf4bfab6221472219162321002f87 (patch)
treec7dcbbb71ebb8f244c2261b707b340079d778c76 /iurt2
parent97e20ef2448702a405f4b9f7d2688a39b2a89365 (diff)
downloadiurt-8bb37046328cf4bfab6221472219162321002f87.tar
iurt-8bb37046328cf4bfab6221472219162321002f87.tar.gz
iurt-8bb37046328cf4bfab6221472219162321002f87.tar.bz2
iurt-8bb37046328cf4bfab6221472219162321002f87.tar.xz
iurt-8bb37046328cf4bfab6221472219162321002f87.zip
add new -p option to specify a different packager
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt25
1 files changed, 4 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index c399e5c..8fccfd7 100755
--- a/iurt2
+++ b/iurt2
@@ -175,6 +175,9 @@ $run{todo} = [];
[ "n", "no", 0, "",
"Perform all the check but do not compile anything",
sub { ($run{no_compile}) = 1 }, "Setting the no compilation flag" ],
+ [ "p", "packager", 1, "<packager>",
+ "Use a specific packager",
+ sub { ($run{packager}) = @_ }, 'Setting packager tag'],
[ "r", "rebuild", -2, "<distro> <architecture> <srpm 1> <srpm 2> ... <srpm n>",
"Rebuild the packages, e.g. $program_name -r cooker x86_64 /home/foo/rpm/SRPMS/foo-2.3-12mdv2007.0.src.rpm",
sub {
@@ -771,7 +774,7 @@ retry:
# only create the log dir for the new srpm
mkdir "$local_spool/log/$log_dirname";
- plog("installing build dependencies");
+ plog('INFO', "Install build dependencies");
my $path_srpm = "$chroot_tmp/home/$luser/rpm/SRPMS/";
# on x86_64 the rpm database is getting corrupted and sometimes