[packages/mbank-cli] - updated to 20131014
kiesiu
kiesiu at pld-linux.org
Thu Nov 21 15:07:38 CET 2013
commit a862da7ae775df38081eeb621c28807d6b04af56
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date: Thu Nov 21 15:07:13 2013 +0100
- updated to 20131014
mbank-cli-defconf.patch | 6 +++---
mbank-cli.spec | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/mbank-cli.spec b/mbank-cli.spec
index 17cf7b5..32b5839 100644
--- a/mbank-cli.spec
+++ b/mbank-cli.spec
@@ -2,16 +2,16 @@
Summary: A command line interface to mBank
Summary(pl.UTF-8): Interfejs CLI do mBanku
Name: mbank-cli
-Version: 20120617
+Version: 20131014
Release: 1
License: GPL v2
Group: Applications/Console
Source0: http://mbank-cli.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: cb8b62359c8a742adb0d4c8807a4c54d
+# Source0-md5: 5bbd4a52acdbae712e98824cadfd33fa
Patch0: %{name}-defconf.patch
Patch1: %{name}-ca.patch
URL: http://code.google.com/p/mbank-cli/
-BuildRequires: perl-base
+BuildRequires: perl-base >= 5.10
BuildRequires: rpm-perlprov
Requires: ca-certificates
Requires: perl(LWP::Protocol::https)
diff --git a/mbank-cli-defconf.patch b/mbank-cli-defconf.patch
index 09e49de..6cf46c2 100644
--- a/mbank-cli-defconf.patch
+++ b/mbank-cli-defconf.patch
@@ -9,15 +9,15 @@ diff -uNr mbank-cli-20120215/mbank-cli mbank-cli-20120215.new/mbank-cli
-my $config_file = './mbank-cli.conf';
+my $cookie_jar_file = "$ENV{ HOME }/.mbank-cli_cookie-jar.txt";
+my $config_file = "$ENV{ HOME }/.mbank-cli.conf";
+ my $http_read_size_hint = 1 << 20; # 1 MiB
sub set_country($)
- {
@@ -302,7 +302,7 @@
eval { $digest_module = Digest->new('SHA-1'); } if $@;
$digest_module = Digest->new('MD5') if $@;
}
-- user_error "Can't open the config file: $!" unless open CONFIG, '<', $config_file;
-+ user_error "Can't open the config file ($config_file): $!" unless open CONFIG, '<', $config_file;
+- user_error "Can't open the config file: $!" unless open my $config, '<', $config_file;
++ user_error "Can't open the config file ($config_file): $!" unless open my $config, '<', $config_file;
my $prev_digest = '';
$main::digest_module->new();
my $header = '';
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mbank-cli.git/commitdiff/a862da7ae775df38081eeb621c28807d6b04af56
More information about the pld-cvs-commit
mailing list