[packages/perl-AnyEvent] - perl 5.26 build fix - rel 4

baggins baggins at pld-linux.org
Mon Jun 12 15:23:15 CEST 2017


commit 4e9f132d47a912ce05f1215cd9ef0d261bd29432
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jun 12 15:23:00 2017 +0200

    - perl 5.26 build fix
    - rel 4

 no-dot-in-INC.patch | 11 +++++++++++
 perl-AnyEvent.spec  |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/perl-AnyEvent.spec b/perl-AnyEvent.spec
index 9f1819a..fc9e730 100644
--- a/perl-AnyEvent.spec
+++ b/perl-AnyEvent.spec
@@ -13,13 +13,14 @@ Summary:	AnyEvent - provide framework for multiple event loops
 Summary(pl.UTF-8):	AnyEvent - szkielet dla wielu pętli zdarzeń
 Name:		perl-AnyEvent
 Version:	7.13
-Release:	3
+Release:	4
 Epoch:		3
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-authors/id/M/ML/MLEHMANN/%{pnam}-%{version}.tar.gz
 # Source0-md5:	70eea152cf4686f8f351aa8bc96157f9
+Patch0:		no-dot-in-INC.patch
 URL:		http://search.cpan.org/dist/AnyEvent/
 BuildRequires:	perl-Canary-Stability
 BuildRequires:	perl-ExtUtils-MakeMaker >= 6.52
@@ -189,6 +190,7 @@ Implementacja AnyEvent oparta na UV.
 
 %prep
 %setup -q -n %{pnam}-%{version}
+%patch0 -p1
 # we are not allowed to use network while building package
 %{__rm} t/05_dns.t
 
diff --git a/no-dot-in-INC.patch b/no-dot-in-INC.patch
new file mode 100644
index 0000000..6dc1907
--- /dev/null
+++ b/no-dot-in-INC.patch
@@ -0,0 +1,11 @@
+--- AnyEvent-7.13/Makefile.PL~	2016-09-17 04:32:17.000000000 +0200
++++ AnyEvent-7.13/Makefile.PL	2017-06-12 15:21:33.293400065 +0200
+@@ -22,7 +22,7 @@
+ 
+ EOF
+ 
+-do "constants.pl.PL"
++do "./constants.pl.PL"
+    or die "cannot execute constants.pl.PL: $@";
+ 
+ WriteMakefile(
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-AnyEvent.git/commitdiff/4e9f132d47a912ce05f1215cd9ef0d261bd29432



More information about the pld-cvs-commit mailing list