[packages/perl-Crypt-Twofish] - fix building with perl 5.26 - rel 10
baggins
baggins at pld-linux.org
Thu Jun 22 22:45:23 CEST 2017
commit b81467dafcd9088503d67a436615532e60216096
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jun 22 22:45:06 2017 +0200
- fix building with perl 5.26
- rel 10
no-dot-in-inc.patch | 11 +++++++++++
perl-Crypt-Twofish.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/perl-Crypt-Twofish.spec b/perl-Crypt-Twofish.spec
index 5d459a5..7b95582 100644
--- a/perl-Crypt-Twofish.spec
+++ b/perl-Crypt-Twofish.spec
@@ -9,11 +9,12 @@ Summary: Crypt::Twofish Perl module - the Twofish encryption algorithm
Summary(pl.UTF-8): Moduł Perla Crypt::Twofish - algorytm szyfrowania Twofish
Name: perl-Crypt-Twofish
Version: 2.14
-Release: 9
+Release: 10
License: Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 295c059d18f9a46dd14bd765fc465318
+Patch0: no-dot-in-inc.patch
URL: http://search.cpan.org/dist/Crypt-Twofish/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
@@ -36,6 +37,7 @@ do dowolnych celów, zgodnie z opisem pod adresem
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
diff --git a/no-dot-in-inc.patch b/no-dot-in-inc.patch
new file mode 100644
index 0000000..97eed1c
--- /dev/null
+++ b/no-dot-in-inc.patch
@@ -0,0 +1,11 @@
+--- Crypt-Twofish-2.14/tab/tables.pl~ 2001-05-21 19:38:02.000000000 +0200
++++ Crypt-Twofish-2.14/tab/tables.pl 2017-06-22 22:44:07.532561872 +0200
+@@ -3,7 +3,7 @@
+ # Copyright 2001 Abhijit Menon-Sen <ams at wiw.org>
+
+ use strict;
+-require 'tab/misc.pl';
++require './tab/misc.pl';
+
+ my ($qtab, $mtab) = ([], []);
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-Twofish.git/commitdiff/b81467dafcd9088503d67a436615532e60216096
More information about the pld-cvs-commit
mailing list