[packages/perl-Compress-Raw-Lzma] - fix building with perl 5.26 - rel 5
baggins
baggins at pld-linux.org
Thu Jun 22 23:02:54 CEST 2017
commit 6cefe9f720f81c1eca2c753726fa584c8a2fd103
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jun 22 23:02:30 2017 +0200
- fix building with perl 5.26
- rel 5
no-dot-in-inc.patch | 10 ++++++++++
perl-Compress-Raw-Lzma.spec | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/perl-Compress-Raw-Lzma.spec b/perl-Compress-Raw-Lzma.spec
index 8ffe3a7..ac2c947 100644
--- a/perl-Compress-Raw-Lzma.spec
+++ b/perl-Compress-Raw-Lzma.spec
@@ -9,12 +9,13 @@ Summary: Compress::Raw::Lzma - low-level Interface to lzma compression library
Summary(pl.UTF-8): Compress::Raw::Lzma - niskopoziomowy interfejs do biblioteki kompresji lzma
Name: perl-Compress-Raw-Lzma
Version: 2.069
-Release: 4
+Release: 5
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Compress/Compress-Raw-Lzma-%{version}.tar.gz
# Source0-md5: 35f0f7af465fc5919d400fb2e48e277e
+Patch0: no-dot-in-inc.patch
URL: http://search.cpan.org/dist/Compress-Raw-Lzma/
BuildRequires: perl-ExtUtils-MakeMaker >= 5.16
BuildRequires: perl-devel >= 1:5.8.0
@@ -43,6 +44,7 @@ kompresji/dekompresji.
%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..747e78b
--- /dev/null
+++ b/no-dot-in-inc.patch
@@ -0,0 +1,10 @@
+--- Compress-Raw-Lzma-2.069/Makefile.PL~ 2013-05-21 22:42:04.000000000 +0200
++++ Compress-Raw-Lzma-2.069/Makefile.PL 2017-06-22 23:01:29.684448188 +0200
+@@ -3,6 +3,7 @@
+ use strict ;
+ require 5.006 ;
+
++use lib '.';
+ use private::MakeUtil;
+ use ExtUtils::MakeMaker 5.16 ;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Compress-Raw-Lzma.git/commitdiff/6cefe9f720f81c1eca2c753726fa584c8a2fd103
More information about the pld-cvs-commit
mailing list