From 5e0c03fcf22429764d18749ea0eb7bb32c7fb059 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Tue, 23 May 2017 12:39:32 +0200 Subject: Fix building on Perl without '.' in @INC (CPAN RT#121827)
--- perl-MooseX-LogDispatch.spec | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/perl-MooseX-LogDispatch.spec b/perl-MooseX-LogDispatch.spec index 3807f7b..6b2ce2d 100644 --- a/perl-MooseX-LogDispatch.spec +++ b/perl-MooseX-LogDispatch.spec @@ -1,16 +1,34 @@ Name: perl-MooseX-LogDispatch Version: 1.2002 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Logging Role for Moose License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-LogDispatch/ Source0: http://www.cpan.org/authors/id/J/JG/JGOULAH/MooseX-LogDispatch-%{version}.tar.gz BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(IO::Scalar) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(Module::Install::AutoInstall) +BuildRequires: perl(Module::Install::Metadata) +BuildRequires: perl(Module::Install::WriteAll) +BuildRequires: sed +# Run-time +BuildRequires: perl(Log::Dispatch::Config) BuildRequires: perl(Log::Dispatch::Configurator) +BuildRequires: perl(Log::Dispatch::Configurator::AppConfig) +BuildRequires: perl(Moose::Exporter) +BuildRequires: perl(Moose::Role) +BuildRequires: perl(Moose::Util::TypeConstraints) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests +BuildRequires: perl(IO::Scalar) +BuildRequires: perl(Log::Dispatch::Null) BuildRequires: perl(Moose) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) @@ -25,6 +43,9 @@ Log::Dispatch role for use with your Moose classes. %prep %setup -q -n MooseX-LogDispatch-%{version} +# Remove bundled libraries +rm -r inc +sed -i -e '/^inc\// d' MANIFEST # Filter requires cat << \EOF > %{name}-req @@ -59,6 +80,9 @@ make test %{_mandir}/man3/* %changelog +* Tue May 23 2017 Jitka Plesnikova <jples...@redhat.com> - 1.2002-16 +- Fix building on Perl without '.' in @INC + * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 1.2002-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-MooseX-LogDispatch.git/commit/?h=master&id=5e0c03fcf22429764d18749ea0eb7bb32c7fb059 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org