summaryrefslogtreecommitdiffstats
path: root/urpmi.spec
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.spec')
-rw-r--r--urpmi.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/urpmi.spec b/urpmi.spec
index 0cfca845..3e71e689 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,14 +2,14 @@
Name: urpmi
Version: 4.1
-Release: 8mdk
+Release: 9mdk
License: GPL
Source0: %{name}.tar.bz2
Source1: %{name}.logrotate
Summary: User mode rpm install
URL: http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/urpmi
Requires: eject webfetch perl-DateManip >= 5.40
-PreReq: perl-Locale-gettext rpmtools >= 4.3-6mdk perl-URPM >= 0.71-1mdk
+PreReq: perl-Locale-gettext rpmtools >= 4.3-6mdk perl-URPM >= 0.80
BuildRequires: bzip2-devel gettext rpm-devel >= 4.0.3
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildArch: noarch
@@ -204,6 +204,16 @@ fi
%changelog
+* Fri Dec 6 2002 François Pons <fpons@mandrakesoft.com> 4.1-9mdk
+- improved urpmf from sh to perl, now a lot of options and
+ support of synthesis only media.
+- make medium name mandatory when adding a source with
+ --distrib-XXX using urpmi.addmedia.
+- fix parallel installation when one node is already up-to-date.
+- improved callback usage of urpm::configure to use newer
+ perl-URPM interface (much faster and smart with memory, but
+ unstable).
+
* Tue Dec 3 2002 François Pons <fpons@mandrakesoft.com> 4.1-8mdk
- added --excludepath option (fix bug 577).
- fixed missing options given to parallel plugins.
5db24883762c45897bd9d8d3fb9b9'>urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -5,7 +5,7 @@
# utility functions
_urpmi_get_medias()
{
- medias=( $( sed -ne 's/^\(.\+\) \+[^{]\+{$/\1/p' /etc/urpmi/urpmi.cfg 2>/dev/null | sed -e 's/(/\\(/g' -e 's/)/\\)/g' -e 's/ /\\ /g' ) )
+ medias=( $( urpmq --list-media $1 2>/dev/null | sed -e 's/(/\\(/g' -e 's/)/\\)/g' -e 's/ /\\ /g' ) )
}
_urpmi_medias()
@@ -13,7 +13,7 @@ _urpmi_medias()
# return list of available media
local medias IFS=$'\t\n'
# get medias list
- _urpmi_get_medias
+ _urpmi_get_medias all
# return matching ones
COMPREPLY=( $( compgen -W '${medias[@]}' -- $cur ) )
}
@@ -23,8 +23,8 @@ _urpmi_packages()
# return list of available packages
local medias i j IFS=$'\t\n,'
- # get medias list
- _urpmi_get_medias
+ # start with full media list
+ _urpmi_get_medias active
# find media selection options
for (( i=1; i < COMP_CWORD; i++ )); do
@@ -41,8 +41,7 @@ _urpmi_packages()
i=$(($i+1))
fi
if [[ "${COMP_WORDS[i]}" == --update ]]; then
- COMPREPLY=( $( urpmq --update --list 2>/dev/null | grep "^$cur" ) )
- return 0
+ _urpmi_get_medias update
fi
done