commit f8008b596be69f9f462792ebbaeea0edf2b4b7b7 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Aug 27 09:38:47 2013 +0200 1.000 bump .gitignore | 1 + perl-MooseX-CoercePerAttribute.spec | 28 +++++++++++++++------------- sources | 2 +- 3 files changed, 17 insertions(+), 14 deletions(-) --- diff --git a/.gitignore b/.gitignore index cfc600d..e06247b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /MooseX-CoercePerAttribute-0.802.tar.gz +/MooseX-CoercePerAttribute-1.000.tar.gz diff --git a/perl-MooseX-CoercePerAttribute.spec b/perl-MooseX-CoercePerAttribute.spec index f687326..825c55e 100644 --- a/perl-MooseX-CoercePerAttribute.spec +++ b/perl-MooseX-CoercePerAttribute.spec @@ -1,6 +1,6 @@ Name: perl-MooseX-CoercePerAttribute -Version: 0.802 -Release: 3%{?dist} +Version: 1.000 +Release: 1%{?dist} Summary: Define coercions per attribute License: GPL+ or Artistic Group: Development/Libraries @@ -8,18 +8,18 @@ URL: http://search.cpan.org/dist/MooseX-CoercePerAttribute/ Source0: http://www.cpan.org/authors/id/M/MR/MRF/MooseX-CoercePerAttribute-%{version}.tar.gz BuildArch: noarch BuildRequires: perl -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(strict) -BuildRequires: perl(warnings) +BuildRequires: perl(Module::Build::Tiny) >= 0.025 # Run-time: BuildRequires: perl(Moose::Role) BuildRequires: perl(Moose::Util::TypeConstraints) +BuildRequires: perl(strict) # Tests: BuildRequires: perl(Data::Dumper) BuildRequires: perl(lib) BuildRequires: perl(Moose) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) # Optional tests: BuildRequires: perl(Pod::Coverage) >= 0.18 BuildRequires: perl(Test::Pod) >= 1.22 @@ -27,29 +27,31 @@ BuildRequires: perl(Test::Pod::Coverage) >= 1.08 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description -A simple Moose Trait to allow you to define coercions per attribute. +A simple Moose Trait that allows you to define in-line coercions per attribute. %prep %setup -q -n MooseX-CoercePerAttribute-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Build.PL --installdirs=vendor +./Build %install -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -%{_fixperms} $RPM_BUILD_ROOT/* +./Build install --destdir=%{buildroot} --create_packlist=0 +%{_fixperms} %{buildroot}/* %check -make test +./Build test %files -%doc Changes README +%doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Aug 27 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.000-1 +- 1.000 bump + * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.802-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index c31cc9c..42f61ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -70f54b3eb2d219817f1c65c53854d568 MooseX-CoercePerAttribute-0.802.tar.gz +fccf3d6c92134aca692174bc81491b4a MooseX-CoercePerAttribute-1.000.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