[packages/mbank-cli] up to 2.2.2

atler atler at pld-linux.org
Thu Feb 20 17:01:58 CET 2020


commit 8668b9005cd8313b5985b3b4d6d3c2d6ffa621ed
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Feb 20 17:01:40 2020 +0100

    up to 2.2.2
    
    - fixed shebang

 mbank-cli-ca.patch | 17 +++++------------
 mbank-cli.spec     |  6 ++++--
 2 files changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/mbank-cli.spec b/mbank-cli.spec
index 693d869..18fce80 100644
--- a/mbank-cli.spec
+++ b/mbank-cli.spec
@@ -1,13 +1,13 @@
 Summary:	A command line interface to mBank
 Summary(pl.UTF-8):	Interfejs CLI do mBanku
 Name:		mbank-cli
-Version:	2.2.1
+Version:	2.2.2
 Release:	1
 Epoch:		1
 License:	MIT
 Group:		Applications/Console
 Source0:	https://github.com/jwilk/mbank-cli/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
-# Source0-md5:	a125b5636e11dee5c0054a555c898a5e
+# Source0-md5:	631e44d8f7f2f3bdfba0b3678b4e325c
 Patch0:		%{name}-ca.patch
 URL:		http://jwilk.net/software/mbank-cli
 BuildRequires:	perl-base >= 5.10
@@ -42,6 +42,8 @@ internetowej mBank.
 %setup -q
 %patch0 -p1
 
+%{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' mbank-cli
+
 %build
 %{__make} -C doc
 
diff --git a/mbank-cli-ca.patch b/mbank-cli-ca.patch
index b049232..8a1217f 100644
--- a/mbank-cli-ca.patch
+++ b/mbank-cli-ca.patch
@@ -1,7 +1,6 @@
-diff -urN mbank-cli-1.6.2.orig/mbank-cli mbank-cli-1.6.2/mbank-cli
---- mbank-cli-1.6.2.orig/mbank-cli	2017-02-06 23:53:16.304962637 +0100
-+++ mbank-cli-1.6.2/mbank-cli	2017-02-06 23:53:42.481628527 +0100
-@@ -556,36 +556,7 @@
+--- mbank-cli-2.2.2/mbank-cli.orig	2020-02-20 16:57:45.267124994 +0100
++++ mbank-cli-2.2.2/mbank-cli	2020-02-20 16:59:43.183078639 +0100
+@@ -774,30 +774,7 @@
  
  sub get_default_ca_path
  {
@@ -13,14 +12,8 @@ diff -urN mbank-cli-1.6.2.orig/mbank-cli mbank-cli-1.6.2/mbank-cli
 -        return $path;
 -    }
 -    my $ssl_cert_dir = $ENV{SSL_CERT_DIR};
--    if (not defined($ssl_cert_dir) and $Net::SSLeay::VERSION >= 1.43) {
--        # https://www.openssl.org/docs/man1.0.2/crypto/SSLeay_version.html
--        # SSLEAY_DIR == 5
--        my $openssl_info = Net::SSLeay::SSLeay_version(5);
--        my ($openssl_dir) = $openssl_info =~ m/\AOPENSSLDIR: "(.*)"\Z/;
--        if (defined($openssl_dir)) {
--            $ssl_cert_dir = "$openssl_dir/certs";
--        }
+-    if (defined($openssl_dir)) {
+-        $ssl_cert_dir //= "$openssl_dir/certs";
 -    }
 -    if (defined($ssl_cert_dir)) {
 -        for my $hash (@hashes) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mbank-cli.git/commitdiff/8668b9005cd8313b5985b3b4d6d3c2d6ffa621ed



More information about the pld-cvs-commit mailing list