Package: rpmstrap
Version: 0.5.2-2
Severity: important
Tags: patch
The command line processing of many of the options supported by
rpmstrap is broken. As an example the current package will not
honour "include", or "exclude" arguments.
The following patch solves the problem. Note it doesn't fix
all such broken handling ..
--- /usr/bin/rpmstrap~ 2006-04-03 17:38:20.000000000 +0100
+++ /usr/bin/rpmstrap 2006-05-23 20:10:03.000000000 +0100
@@ -266,12 +266,12 @@
--include)
# Please don't do these in a logical fashion
# It just makes some people angry
- INCLUDES="$(echo $1 | sed 's/.*=//;y/,/ /')"
- shift 1
+ INCLUDES="$(echo $2 | sed 's/.*=//;y/,/ /')"
+ shift 2
;;
--exclude)
- EXCLUDES="$(echo $1 | sed 's/.*=//;y/,/ /')"
- shift 1
+ EXCLUDES="$(echo $2 | sed 's/.*=//;y/,/ /')"
+ shift 2
;;
--pdk-source)
PDK_SOURCE="$(echo $1 | cut -f2 -d"=")"
Steve
--
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-xen-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages rpmstrap depends on:
ii rpm 4.4.1-8 Red Hat package manager
ii wget 1.10.2-1 retrieves files from the web
rpmstrap recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]