- Update to 0.23
- remove trailing whitespace from each line - Add download_files source service - Add missing COPYING source OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/rypper?expand=0&rev=5
This commit is contained in:
parent
0cb7012aa0
commit
a424dfbeb7
6
_service
Normal file
6
_service
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<services>
|
||||||
|
<service name="download_files" mode="disabled">
|
||||||
|
<param name="enforcelocal">yes</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
||||||
|
|
12
rypper
12
rypper
@ -81,7 +81,7 @@ use warnings;
|
|||||||
|
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
|
|
||||||
our $VERSION = '0.22';
|
our $VERSION = '0.23';
|
||||||
|
|
||||||
(my $ME = $0) =~ s,.*/,,;
|
(my $ME = $0) =~ s,.*/,,;
|
||||||
|
|
||||||
@ -284,14 +284,18 @@ sub list_repos {
|
|||||||
}
|
}
|
||||||
my $delimiter = $l_opts{delimiter} || $DEFAULT_L_DELIMITER;
|
my $delimiter = $l_opts{delimiter} || $DEFAULT_L_DELIMITER;
|
||||||
my $format = join($delimiter,
|
my $format = join($delimiter,
|
||||||
map { get_col_format($_, $widths{$_}) } @cols) . "\n";
|
map { get_col_format($_, $widths{$_}) } @cols);
|
||||||
|
|
||||||
unless ($l_opts{'no-header'}) {
|
unless ($l_opts{'no-header'}) {
|
||||||
my $header = sprintf $format, @cols;
|
my $header = sprintf $format, @cols;
|
||||||
print $header, '-' x length($header), "\n";
|
my $divider = '-' x length($header);
|
||||||
|
$header =~ s/\s+$//;
|
||||||
|
print "$header\n$divider\n";
|
||||||
}
|
}
|
||||||
foreach my $repo (@repos) {
|
foreach my $repo (@repos) {
|
||||||
printf $format, map { $repo->{$_} } @cols;
|
my $line = sprintf $format, map { $repo->{$_} } @cols;
|
||||||
|
$line =~ s/\s+$//;
|
||||||
|
print $line, "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 21 14:33:10 BST 2013 - aspiers@suse.com
|
||||||
|
|
||||||
|
- Update to 0.23
|
||||||
|
- remove trailing whitespace from each line
|
||||||
|
- Add download_files source service
|
||||||
|
- Add missing COPYING source
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 12 11:11:41 BST 2013 - aspiers@suse.com
|
Thu Sep 12 11:11:41 BST 2013 - aspiers@suse.com
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
Name: rypper
|
Name: rypper
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -24,11 +23,12 @@ 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.22
|
Version: 0.23
|
||||||
Release: 1
|
Release: 0
|
||||||
Url: http://www.adamspiers.org/computing/
|
Url: http://www.adamspiers.org/computing/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: rypper
|
Source0: https://raw.github.com/aspiers/SUSE-dist/master/bin/rypper
|
||||||
|
Source1: COPYING
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user