From 6f8e6aaf539e14f0c78b7e9d22e45ea78a6f6ac6 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <[email protected]>
Date: Wed, 17 May 2017 14:39:25 +0200
Subject: Fix building on Perl without '.' in @INC (CPAN RT#120086)
---
AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch | 12 ++++++++++++
perl-AnyEvent.spec | 9 ++++++++-
2 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
diff --git a/AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
b/AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
new file mode 100644
index 0000000..f48417b
--- /dev/null
+++ b/AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
@@ -0,0 +1,12 @@
+diff -up AnyEvent-7.13/Makefile.PL.orig AnyEvent-7.13/Makefile.PL
+--- AnyEvent-7.13/Makefile.PL.orig 2017-05-17 14:33:30.966186261 +0200
++++ AnyEvent-7.13/Makefile.PL 2017-05-17 14:34:13.414007081 +0200
+@@ -22,7 +22,7 @@ print <<EOF;
+
+ EOF
+
+-do "constants.pl.PL"
++do "./constants.pl.PL"
+ or die "cannot execute constants.pl.PL: $@";
+
+ WriteMakefile(
diff --git a/perl-AnyEvent.spec b/perl-AnyEvent.spec
index fe312cc..8aebfe9 100644
--- a/perl-AnyEvent.spec
+++ b/perl-AnyEvent.spec
@@ -8,13 +8,14 @@
Name: perl-AnyEvent
Version: 7.13
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Framework for multiple event loops
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/AnyEvent/
Source0:
http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}%{?subver}.tar.gz
Patch0: AnyEvent-7.13-ssl.patch
+Patch1: AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
# Build requirements
BuildRequires: coreutils
@@ -141,6 +142,9 @@ time).
# Fix segfault in SSL handling that manifests on OpenSSL 1.1.0 x86_64
%patch0
+# Fix building on Perl without '.' in @INC
+%patch1 -p1
+
%build
PERL_CANARY_STABILITY_NOPROMPT=1 perl Makefile.PL INSTALLDIRS=vendor
@@ -197,6 +201,9 @@ make test
%changelog
+* Wed May 17 2017 Jitka Plesnikova <[email protected]> - 7.13-6
+- Fix building on Perl without '.' in @INC
+
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> -
7.13-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-AnyEvent.git/commit/?h=f26&id=6f8e6aaf539e14f0c78b7e9d22e45ea78a6f6ac6
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]