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:
parent
d24ac63f4e
commit
03064a90ba
7
rypper
7
rypper
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
rypper - wrapper around zypper for managing multiple repositories
|
rypper - extension for managing multiple repositories via zypper
|
||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ use warnings;
|
|||||||
|
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
|
|
||||||
our $VERSION = '0.21';
|
our $VERSION = '0.22';
|
||||||
|
|
||||||
(my $ME = $0) =~ s,.*/,,;
|
(my $ME = $0) =~ s,.*/,,;
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ The specifiers determine which repositories the zypper command applies to:
|
|||||||
-d, --disabled disabled repos
|
-d, --disabled disabled repos
|
||||||
-e, --enabled enabled repos
|
-e, --enabled enabled repos
|
||||||
-r, --refresh repos with autorefresh enabled
|
-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
|
-a, --alias=REGEXP repos whose alias matches REGEXP
|
||||||
-n, --name=REGEXP repos whose name matches REGEXP
|
-n, --name=REGEXP repos whose name matches REGEXP
|
||||||
-p, --priority=PRIORITY repos whose priority equals PRIORITY
|
-p, --priority=PRIORITY repos whose priority equals PRIORITY
|
||||||
@ -185,6 +185,7 @@ sub get_repo_ids {
|
|||||||
while (<ZYPPER>) {
|
while (<ZYPPER>) {
|
||||||
chomp;
|
chomp;
|
||||||
next if /^#/ || /^[-+]{40}/;
|
next if /^#/ || /^[-+]{40}/;
|
||||||
|
s/^\s+//;
|
||||||
my @values = split /\s+\|\s+/, $_;
|
my @values = split /\s+\|\s+/, $_;
|
||||||
my %repo = map { $FIELDS[$_] => ($values[$_] || '') } 0 .. $#FIELDS;
|
my %repo = map { $FIELDS[$_] => ($values[$_] || '') } 0 .. $#FIELDS;
|
||||||
if (repo_matches(%repo)) {
|
if (repo_matches(%repo)) {
|
||||||
|
@ -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
|
Wed Sep 11 17:28:50 BST 2013 - aspiers@suse.com
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Requires: zypper
|
|||||||
Summary: Wrapper around zypper for managing multiple repositories
|
Summary: Wrapper around zypper for managing multiple repositories
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
Version: 0.21
|
Version: 0.22
|
||||||
Release: 1
|
Release: 1
|
||||||
Url: http://www.adamspiers.org/computing/
|
Url: http://www.adamspiers.org/computing/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Loading…
Reference in New Issue
Block a user