commit 0ccbee4ed130a659497b964151ea1953bf376e71 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue Oct 7 13:47:00 2014 +0100 Update to 2.4.1 - New upstream release 2.4.1 - Merged the pull-request #13, which fixed an issue where the behavior of role method confliction was different from Moose; this change might affect your existing code so the major version has incremented (see t/030_roles/role_conflict_and_inheritance.t for details) - Dropped 5.6.2 support - Migrated to Minilla - Fixed #16 (Inconsistent coercion/validation of Bool type) - Fixed #17 (Memory leak in applying roles to instances) - Classify buildreqs by usage - Switch to Module::Build flow - Make %files list more explicit .gitignore | 14 +----- perl-Mouse.spec | 152 ++++++++++++++++++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 119 insertions(+), 49 deletions(-) --- diff --git a/.gitignore b/.gitignore index 64dfa7b..f05b087 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1 @@ -Mouse-0.58.tar.gz -/Mouse-0.92.tar.gz -/Mouse-0.93.tar.gz -/Mouse-0.95.tar.gz -/Mouse-0.97.tar.gz -/Mouse-0.99.tar.gz -/Mouse-1.01.tar.gz -/Mouse-1.02.tar.gz -/Mouse-1.04.tar.gz -/Mouse-1.05.tar.gz -/Mouse-1.06.tar.gz -/Mouse-1.11.tar.gz -/Mouse-1.13.tar.gz +/Mouse-[0-9.]*.tar.gz diff --git a/perl-Mouse.spec b/perl-Mouse.spec index 73a162f..9aaf028 100644 --- a/perl-Mouse.spec +++ b/perl-Mouse.spec @@ -1,37 +1,76 @@ Name: perl-Mouse Summary: Moose minus the antlers -Version: 1.13 -Release: 3%{?dist} +Version: 2.4.1 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries -Source0: http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Mouse-%{version}.tar.gz URL: http://search.cpan.org/dist/Mouse -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -BuildRequires: perl(Class::Method::Modifiers) -BuildRequires: perl(Declare::Constraints::Simple) +Source0: http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Mouse-%{version}.tar.gz +# Module Build +BuildRequires: perl BuildRequires: perl(Devel::PPPort) >= 3.19 -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(ExtUtils::ParseXS) BuildRequires: perl(Fatal) -BuildRequires: perl(IO::File) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Module::Build::XSUtil) +BuildRequires: perl(utf8) +# Module Runtime +BuildRequires: perl(B) +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Filter::Simple) +BuildRequires: perl(mro) +BuildRequires: perl(overload) +BuildRequires: perl(Scalar::Util) >= 1.14 +BuildRequires: perl(strict) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(warnings) +BuildRequires: perl(XSLoader) >= 0.02 +# Test Suite +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(FindBin) +BuildRequires: perl(if) +BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::String) +BuildRequires: perl(lib) +BuildRequires: perl(List::Util) +BuildRequires: perl(Test::Builder::Tester) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::LeakTrace) >= 0.10 +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Requires) +BuildRequires: perl(Tie::Array) +BuildRequires: perl(Tie::Hash) +BuildRequires: perl(Tie::Scalar) +# Optional Tests +BuildRequires: perl(Data::Dump::Streamer) +BuildRequires: perl(Declare::Constraints::Simple) +BuildRequires: perl(HTTP::Headers) BuildRequires: perl(Locale::US) BuildRequires: perl(Moose) -BuildRequires: perl(MRO::Compat) +BuildRequires: perl(Params::Coerce) BuildRequires: perl(Path::Class) +BuildRequires: perl(Pod::Coverage::Moose) BuildRequires: perl(Regexp::Common) -BuildRequires: perl(Scalar::Util) >= 1.14 +BuildRequires: perl(Test) BuildRequires: perl(Test::Deep) -BuildRequires: perl(Test::LeakTrace) >= 0.10 -BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Output) -BuildRequires: perl(Test::Requires) -BuildRequires: perl(XSLoader) >= 0.02 - +BuildRequires: perl(URI) +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Scalar::Util) >= 1.14 +Requires: perl(Data::Dumper) +Requires: perl(mro) Requires: perl(XSLoader) >= 0.02 -# virtual provides for perl-Any-Moose +# Virtual provides for perl-Any-Moose Provides: perl(Any-Moose) = %{version} %{?perl_default_filter} @@ -61,38 +100,81 @@ an experimental first release, so comments and suggestions are very welcome. %prep %setup -q -n Mouse-%{version} -find . -type f -exec chmod -c -x {} + -find t/ xt/ benchmarks/ example/ tool/ -type f -print0 \ -| xargs -0 sed -i '1s|^#!.*perl|#!%{__perl}|' +# Fix permissions +find . -type f -exec chmod -c -x {} ';' + +# Fix shellbangs +find t/ xt/ benchmarks/ example/ tool/ -type f -print0 | + xargs -0 sed -i '1s|^#!.*perl|#!%{__perl}|' %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Build.PL --installdirs=vendor +./Build %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +./Build install --destdir=%{buildroot} --create_packlist=0 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' - -%{_fixperms} %{buildroot}/* +%{_fixperms} %{buildroot} %check -make test +./Build test %files %doc Changes benchmarks/ example/ tool/ t/ xt/ -%{perl_vendorarch}/* -%exclude %dir %{perl_vendorarch}/auto -%{_mandir}/man3/*.3* -%exclude %{perl_vendorarch}/Test -%exclude %{_mandir}/man3/Test::Mouse* +%{perl_vendorarch}/auto/Mouse/ +%{perl_vendorarch}/Mouse.pm +%{perl_vendorarch}/Mouse/ +%{perl_vendorarch}/ouse.pm +%{perl_vendorarch}/Squirrel.pm +%{perl_vendorarch}/Squirrel/ +%{_mandir}/man3/Mouse.3* +%{_mandir}/man3/Mouse::Exporter.3* +%{_mandir}/man3/Mouse::Meta::Attribute.3* +%{_mandir}/man3/Mouse::Meta::Class.3* +%{_mandir}/man3/Mouse::Meta::Method.3* +%{_mandir}/man3/Mouse::Meta::Method::Accessor.3* +%{_mandir}/man3/Mouse::Meta::Method::Constructor.3* +%{_mandir}/man3/Mouse::Meta::Method::Delegation.3* +%{_mandir}/man3/Mouse::Meta::Method::Destructor.3* +%{_mandir}/man3/Mouse::Meta::Module.3* +%{_mandir}/man3/Mouse::Meta::Role.3* +%{_mandir}/man3/Mouse::Meta::Role::Application.3* +%{_mandir}/man3/Mouse::Meta::Role::Composite.3* +%{_mandir}/man3/Mouse::Meta::Role::Method.3* +%{_mandir}/man3/Mouse::Meta::TypeConstraint.3* +%{_mandir}/man3/Mouse::Object.3* +%{_mandir}/man3/Mouse::PurePerl.3* +%{_mandir}/man3/Mouse::Role.3* +%{_mandir}/man3/Mouse::Spec.3* +%{_mandir}/man3/Mouse::Tiny.3* +%{_mandir}/man3/Mouse::TypeRegistry.3* +%{_mandir}/man3/Mouse::Util.3* +%{_mandir}/man3/Mouse::Util::MetaRole.3* +%{_mandir}/man3/Mouse::Util::TypeConstraints.3* +%{_mandir}/man3/Mouse::XS.3* +%{_mandir}/man3/ouse.3* +%{_mandir}/man3/Squirrel.3* +%{_mandir}/man3/Squirrel::Role.3* %files -n perl-Test-Mouse -%{perl_vendorarch}/Test -%{_mandir}/man3/Test::Mouse* +%{perl_vendorarch}/Test/ +%{_mandir}/man3/Test::Mouse.3* %changelog +* Tue Oct 7 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 2.4.1-1 +- Update to 2.4.1 + - Merged the pull-request #13, which fixed an issue where the behavior of + role method confliction was different from Moose; this change might affect + your existing code so the major version has incremented (see + t/030_roles/role_conflict_and_inheritance.t for details) + - Dropped 5.6.2 support + - Migrated to Minilla + - Fixed #16 (Inconsistent coercion/validation of Bool type) + - Fixed #17 (Memory leak in applying roles to instances) +- Classify buildreqs by usage +- Switch to Module::Build flow +- Make %%files list more explicit + * Mon Sep 01 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.13-3 - Perl 5.20 rebuild diff --git a/sources b/sources index a409070..b0f206c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f3424fff9c3e75b51b1017c970b284a8 Mouse-1.13.tar.gz +2e265bdde5f148cf0c1f788cf0f87291 Mouse-2.4.1.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel