diff --git a/rypper b/rypper index 6e62ed7..61a93a9 100644 --- a/rypper +++ b/rypper @@ -2,7 +2,7 @@ =head1 NAME -rypper - wrapper around zypper for managing multiple repositories +rypper - extension for managing multiple repositories via zypper =head1 SYNOPSIS @@ -81,7 +81,7 @@ use warnings; use Getopt::Long; -our $VERSION = '0.21'; +our $VERSION = '0.22'; (my $ME = $0) =~ s,.*/,,; @@ -107,7 +107,7 @@ The specifiers determine which repositories the zypper command applies to: -d, --disabled disabled repos -e, --enabled enabled repos -r, --refresh repos with autorefresh enabled - -R, --no-refresh repos with autorefresh disabled + -R, --no-refresh repos with autorefresh disabled -a, --alias=REGEXP repos whose alias matches REGEXP -n, --name=REGEXP repos whose name matches REGEXP -p, --priority=PRIORITY repos whose priority equals PRIORITY @@ -185,6 +185,7 @@ sub get_repo_ids { while () { chomp; next if /^#/ || /^[-+]{40}/; + s/^\s+//; my @values = split /\s+\|\s+/, $_; my %repo = map { $FIELDS[$_] => ($values[$_] || '') } 0 .. $#FIELDS; if (repo_matches(%repo)) { diff --git a/rypper.changes b/rypper.changes index 45e4717..fb06f9d 100644 --- a/rypper.changes +++ b/rypper.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Sep 12 11:11:41 BST 2013 - aspiers@suse.com + +- Update to 0.22: + - fix whitespace parsing issue with zypper lr -d + - align usage text + ------------------------------------------------------------------- Wed Sep 11 17:28:50 BST 2013 - aspiers@suse.com diff --git a/rypper.spec b/rypper.spec index 00db563..be2414e 100644 --- a/rypper.spec +++ b/rypper.spec @@ -24,7 +24,7 @@ Requires: zypper Summary: Wrapper around zypper for managing multiple repositories License: GPL-3.0+ Group: System/Packages -Version: 0.21 +Version: 0.22 Release: 1 Url: http://www.adamspiers.org/computing/ BuildRoot: %{_tmppath}/%{name}-%{version}-build