From 4c9146587511914f97b03768a0bbe0b5365adcfd Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Sat, 20 Aug 2016 16:53:58 +0100
Subject: Update to 2.1805

- New upstream release 2.1805
- BR: perl(MooseX::NonMoose) and perl(Specio) for further test coverage
- Use NO_PERLLOCAL/NO_PACKLIST from recent EU::MM
- Fix wrong URL link
---
 .gitignore      |  1 +
 perl-Moose.spec | 29 ++++++++++++++++++++---------
 sources         |  2 +-
 3 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore
index 249e420..4d1be48 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,4 @@
 /Moose-2.1802.tar.gz
 /Moose-2.1803.tar.gz
 /Moose-2.1804.tar.gz
+/Moose-2.1805.tar.gz
diff --git a/perl-Moose.spec b/perl-Moose.spec
index 150d4ec..0de5993 100644
--- a/perl-Moose.spec
+++ b/perl-Moose.spec
@@ -1,11 +1,11 @@
 Name:           perl-Moose
 Summary:        Complete modern object system for Perl 5
-Version:        2.1804
-Release:        2%{?dist}
+Version:        2.1805
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 
 Source0:        
http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Moose-%{version}.tar.gz
-URL:            http://search.cpan.org/dist/
+URL:            http://search.cpan.org/dist/Moose/
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 # configure
@@ -18,7 +18,7 @@ BuildRequires:  perl-devel
 BuildRequires:  perl-generators
 BuildRequires:  perl(Dist::CheckConflicts) >= 0.02
 BuildRequires:  perl(ExtUtils::CBuilder) >= 0.27
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 
 # develop
 BuildRequires:  perl(Algorithm::C3)
@@ -40,10 +40,14 @@ BuildRequires:  perl(Module::Info)
 BuildRequires:  perl(Module::Refresh)
 %if !0%{?perl_bootstrap}
 BuildRequires:  perl(MooseX::MarkAsMethods)
+BuildRequires:  perl(MooseX::NonMoose) >= 0.25
 %endif
 BuildRequires:  perl(PadWalker)
 BuildRequires:  perl(Params::Coerce)
 BuildRequires:  perl(Regexp::Common)
+%if !0%{?perl_bootstrap}
+BuildRequires:  perl(Specio) >= 0.10
+%endif
 BuildRequires:  perl(Test::Deep)
 # author test - we almost certainly don't want this in mock!
 #BuildRequires:  perl(Test::DependentModules) >= 0.12
@@ -91,7 +95,6 @@ BuildRequires:  perl(Sub::Name) >= 0.05
 BuildRequires:  perl(Task::Weaken)
 BuildRequires:  perl(Try::Tiny) >= 0.02
 
-
 Requires:       perl(Data::OptList) >= 0.107
 Requires:       perl(Dist::CheckConflicts) >= 0.02
 
@@ -141,19 +144,21 @@ find t/ -type f -name '*.t' -print0 \
   | xargs -0 sed -i '1s,#!.*perl,#!%{__perl},'
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL \
+  INSTALLDIRS=vendor \
+  OPTIMIZE="%{optflags}" \
+  NO_PERLLOCAL=1 \
+  NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -delete
+make install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name '*.bs' -empty -delete
 %{_fixperms} %{buildroot}
 
 %check
 make test
 
-
 %files
 %license LICENSE
 %doc Changes Changes.Class-MOP TODO
@@ -170,6 +175,12 @@ make test
 %{_mandir}/man3/Test::Moose*
 
 %changelog
+* Sat Aug 20 2016 Paul Howarth <p...@city-fan.org> - 2.1805-1
+- Update to 2.1805
+- BR: perl(MooseX::NonMoose) and perl(Specio) for further test coverage
+- Use NO_PERLLOCAL/NO_PACKLIST from recent EU::MM
+- Fix wrong URL link
+
 * Tue Jun 07 2016 Petr Pisar <ppi...@redhat.com> - 2.1804-2
 - Break build cycle: perl-Moose → perl-Type-Tiny → perl-Moose
 
diff --git a/sources b/sources
index 9a3a8b5..ae2dca4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9e755f8f08892184c5a3cde086e9a199  Moose-2.1804.tar.gz
+c8632a127c0602b65f851f4e2de9f3ca  Moose-2.1805.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Moose.git/commit/?h=f25&id=4c9146587511914f97b03768a0bbe0b5365adcfd
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to