Accepting request 198643 from home:aspiers:branches:system:packagemanager

- Update to 0.22:
  - fix whitespace parsing issue with zypper lr -d
  - align usage text

OBS-URL: https://build.opensuse.org/request/show/198643
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/rypper?expand=0&rev=3
This commit is contained in:
Adam Spiers 2013-09-12 10:14:07 +00:00 committed by Git OBS Bridge
parent d24ac63f4e
commit 03064a90ba
3 changed files with 12 additions and 4 deletions

7
rypper
View File

@ -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 (<ZYPPER>) {
chomp;
next if /^#/ || /^[-+]{40}/;
s/^\s+//;
my @values = split /\s+\|\s+/, $_;
my %repo = map { $FIELDS[$_] => ($values[$_] || '') } 0 .. $#FIELDS;
if (repo_matches(%repo)) {

View File

@ -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

View File

@ -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