- 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:
Adam Spiers 2013-10-21 13:55:17 +00:00 committed by Git OBS Bridge
parent 0cb7012aa0
commit a424dfbeb7
4 changed files with 26 additions and 8 deletions

6
_service Normal file
View File

@ -0,0 +1,6 @@
<services>
<service name="download_files" mode="disabled">
<param name="enforcelocal">yes</param>
</service>
</services>

12
rypper
View File

@ -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";
}
}

View File

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

View File

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