@ -1,11 +1,11 @@
Name: perl-MooseX-Role-Parameterized
Summary: Make your roles flexible through parameterization
Version: 1.05
Release: 2 %{?dist}
Version: 1.07
Release: 1 %{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MooseX-Role-Parameterized
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY /MooseX-Role-Parameterized-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER /MooseX-Role-Parameterized-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: perl
@ -25,11 +25,9 @@ BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
BuildRequires: perl(List::Util)
BuildRequires: perl(Moose::Util::TypeConstraints)
BuildRequires: perl(MooseX::Role::WithOverloading)
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Storable)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Fatal)
@ -66,9 +64,6 @@ Parameterized roles offer exactly this solution.
%setup -q -n MooseX-Role-Parameterized-%{version}
%build
# We really don't need Module::Build::Tiny so shut the warnings up
export PERL_MM_FALLBACK_SILENCE_WARNING=1
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@ -77,12 +72,6 @@ make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
# Remove installed README.pod and corresponding manpage, potentially
# conflicting (#1126416)
# https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/119
rm -f %{buildroot}%{_mandir}/man3/MooseX::Role::README.3*
rm -f %{buildroot}%{perl_vendorlib}/MooseX/Role/README.pod
%check
make test
@ -99,6 +88,14 @@ make test
%{_mandir}/man3/MooseX::Role::Parameterized::Tutorial.3pm*
%changelog
* Thu Aug 14 2014 Paul Howarth <paul@city-fan.org> - 1.07-1
- Update to 1.07
- Restored MooseX::Role::Parameterized->current_metaclass as a public
method; apparently there is code on CPAN that relies on this
- Remove README.pod from shipped dist
- This release by ETHER → update source URL
- Drop workarounds for problems in earlier releases
* Tue Aug 5 2014 Paul Howarth <paul@city-fan.org> - 1.05-2
- Remove installed README.pod and corresponding manpage, potentially
conflicting (#1126416)