aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mandriva.com>2005-11-10 15:50:23 +0000
committerMichael Scherer <misc@mandriva.com>2005-11-10 15:50:23 +0000
commit0d278a2441fa980e68a43039c6b752c985b273a1 (patch)
tree9e68b74168565c8ac2ce62016468cdc3695713b9
parent5ee3dc56831a49d42fff364b52f6cd6defae7d25 (diff)
downloadbootsplash-0d278a2441fa980e68a43039c6b752c985b273a1.tar
bootsplash-0d278a2441fa980e68a43039c6b752c985b273a1.tar.gz
bootsplash-0d278a2441fa980e68a43039c6b752c985b273a1.tar.bz2
bootsplash-0d278a2441fa980e68a43039c6b752c985b273a1.tar.xz
bootsplash-0d278a2441fa980e68a43039c6b752c985b273a1.zip
- remove obsolete, inflexible and surely unused option --deps
-rwxr-xr-xrpmbuildupdate14
1 files changed, 1 insertions, 13 deletions
diff --git a/rpmbuildupdate b/rpmbuildupdate
index 5b4c7c9..8a07217 100755
--- a/rpmbuildupdate
+++ b/rpmbuildupdate
@@ -13,10 +13,10 @@
# $Id$
# TODO
-# do not hardcode sudo urpmi command ( to use --deps on cluster )
# rework configuration option
# add debian url ( like gnome or rh ) => cannot be done i think
# use more Hdlist ( see Hdlist->build() )
+# replace perl-Hdlist by perl-RPM4
# list of the return code :
# 255 => usage
@@ -197,10 +197,6 @@ sub build_from_src {
die "Cannot parse the name of rpm $pkgrpm_basename";
}
- if ($config{deps}) {
- system_die("sudo /usr/sbin/urpmi --auto --force $pkgrpm $log");
- }
-
# TODO log, check return
my ($spec_path) = Hdlist::installsrpm($pkgrpm);
build($spec_path, $name, $version, $release, $newversion);
@@ -498,12 +494,6 @@ sub parse_argv {
ARGCOUNT => AppConfig::ARGCOUNT_ONE
});
- $conf->define("deps", {
- ALIAS => "d",
- DEFAULT => 0,
- ARGCOUNT => AppConfig::ARGCOUNT_NONE
- });
-
$conf->define("nosource", {
ALIAS => "n",
DEFAULT => 0,
@@ -568,7 +558,6 @@ sub parse_argv {
$conf->args;
# TODO remove this useless piece of code and use directly $conf->get
$config{rpmmon} = $conf->get("rpmmon");
- $config{deps} = $conf->get("deps");
$config{srpms} = $conf->get("srpms");
$config{release} = $conf->get("release");
$config{noupdate} = $conf->get("noupdate");
@@ -601,7 +590,6 @@ Usage: rpmbuildupdate [options] [pkg] [newversion]
--rpmoption <rpm option>: use this option when rebuilding ( --with , mainly )
--release <mdk_release>: release version of package (default: 1mdk)
--changelog <changelog message>: use a alternate message. \%\%VERSION is replace by version
- --deps: install builds dependencies
--log: log builds
--nosource: do not install source from (urpmi x.src.rpm)
--noupdate: do not touch to the spec file