Fix building on Perl without '.' in @INC (CPAN RT#120086)
This commit is contained in:
parent
96d40ff080
commit
6f8e6aaf53
12
AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
Normal file
12
AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
Normal file
@ -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(
|
@ -8,13 +8,14 @@
|
|||||||
|
|
||||||
Name: perl-AnyEvent
|
Name: perl-AnyEvent
|
||||||
Version: 7.13
|
Version: 7.13
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Framework for multiple event loops
|
Summary: Framework for multiple event loops
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/AnyEvent/
|
URL: http://search.cpan.org/dist/AnyEvent/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}%{?subver}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}%{?subver}.tar.gz
|
||||||
Patch0: AnyEvent-7.13-ssl.patch
|
Patch0: AnyEvent-7.13-ssl.patch
|
||||||
|
Patch1: AnyEvent-7.13-Fix-building-on-Perl-without-dot-in-INC.patch
|
||||||
|
|
||||||
# Build requirements
|
# Build requirements
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
@ -141,6 +142,9 @@ time).
|
|||||||
# Fix segfault in SSL handling that manifests on OpenSSL 1.1.0 x86_64
|
# Fix segfault in SSL handling that manifests on OpenSSL 1.1.0 x86_64
|
||||||
%patch0
|
%patch0
|
||||||
|
|
||||||
|
# Fix building on Perl without '.' in @INC
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
PERL_CANARY_STABILITY_NOPROMPT=1 perl Makefile.PL INSTALLDIRS=vendor
|
PERL_CANARY_STABILITY_NOPROMPT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
@ -197,6 +201,9 @@ make test
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 17 2017 Jitka Plesnikova <jplesnik@redhat.com> - 7.13-6
|
||||||
|
- Fix building on Perl without '.' in @INC
|
||||||
|
|
||||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.13-5
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.13-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user