Accepting request 204976 from system:packagemanager
- 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/request/show/204976 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rypper?expand=0&rev=3
This commit is contained in:
commit
e11eff2f54
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;
|
||||
|
||||
our $VERSION = '0.22';
|
||||
our $VERSION = '0.23';
|
||||
|
||||
(my $ME = $0) =~ s,.*/,,;
|
||||
|
||||
@ -284,14 +284,18 @@ sub list_repos {
|
||||
}
|
||||
my $delimiter = $l_opts{delimiter} || $DEFAULT_L_DELIMITER;
|
||||
my $format = join($delimiter,
|
||||
map { get_col_format($_, $widths{$_}) } @cols) . "\n";
|
||||
map { get_col_format($_, $widths{$_}) } @cols);
|
||||
|
||||
unless ($l_opts{'no-header'}) {
|
||||
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) {
|
||||
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
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: rypper
|
||||
BuildRequires: perl
|
||||
@ -24,11 +23,12 @@ Requires: zypper
|
||||
Summary: Wrapper around zypper for managing multiple repositories
|
||||
License: GPL-3.0+
|
||||
Group: System/Packages
|
||||
Version: 0.22
|
||||
Release: 1
|
||||
Version: 0.23
|
||||
Release: 0
|
||||
Url: http://www.adamspiers.org/computing/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: rypper
|
||||
Source0: https://raw.github.com/aspiers/SUSE-dist/master/bin/rypper
|
||||
Source1: COPYING
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user