From e3ca09dca7af454204a7870625db8450e4503fec Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Thu, 15 Jun 2017 13:50:32 +0200
Subject: Perl 5.26 rebuild; Remove bundled libraries

---
 perl-Catalyst-View-Email.spec | 42 ++++++++++++++++++++++++++++++++++--------
 1 file changed, 34 insertions(+), 8 deletions(-)

diff --git a/perl-Catalyst-View-Email.spec b/perl-Catalyst-View-Email.spec
index 0029cfd..f452649 100644
--- a/perl-Catalyst-View-Email.spec
+++ b/perl-Catalyst-View-Email.spec
@@ -1,27 +1,48 @@
 Name:           perl-Catalyst-View-Email
 Version:        0.36
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Send Email from Catalyst
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Catalyst-View-Email/
 Source0:        
http://search.cpan.org/CPAN/authors/id/D/DH/DHOSS/Catalyst-View-Email-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl-generators
 BuildRequires:  perl(Authen::SASL)
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(Catalyst) >= 5.7
+BuildRequires:  perl(Catalyst::Controller)
+BuildRequires:  perl(Catalyst::Test)
+BuildRequires:  perl(Catalyst::View)
+BuildRequires:  perl(Catalyst::View::Mason) >= 0.18
+BuildRequires:  perl(Catalyst::View::TT) >= 0.31
+BuildRequires:  perl(Data::Dump)
 BuildRequires:  perl(Email::Date::Format)
 BuildRequires:  perl(Email::MIME) >= 1.859
 BuildRequires:  perl(Email::MIME::Creator) >= 1.455
 BuildRequires:  perl(Email::Sender::Simple) => 0.100110
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Catalyst::View::TT) >= 0.31
-BuildRequires:  perl(Catalyst::View::Mason) >= 0.18
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(inc::Module::Install) >= 0.91
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Module::Install::AutoInstall)
+BuildRequires:  perl(Module::Install::Makefile)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(Module::Runtime)
 BuildRequires:  perl(Moose) >= 0.93
+BuildRequires:  perl(parent) >= 0.223
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Requires)
-BuildRequires:  perl(parent) >= 0.223
+BuildRequires:  perl(warnings)
+BuildRequires:  sed
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 # not automatically detected
 Requires:       perl(Catalyst) >= 5.7
@@ -38,6 +59,9 @@ settings.
 
 %prep
 %setup -q -n Catalyst-View-Email-%{version}
+# Remove bundled libraries
+rm -r inc
+sed -i -e '/^inc\// d' MANIFEST
 
 %build
 PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -45,9 +69,7 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-
+find $RPM_BUILD_ROOT -type f -name .packlist -delete
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -59,6 +81,10 @@ TEST_POD=yep make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jun 15 2017 Jitka Plesnikova <jples...@redhat.com> - 0.36-5
+- Perl 5.26 rebuild
+- Remove bundled libraries
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.36-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Catalyst-View-Email.git/commit/?h=master&id=e3ca09dca7af454204a7870625db8450e4503fec
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to