[perl-MooseX-Params-Validate] update to 0.16

Iain Arnell iarnell at fedoraproject.org
Sun Mar 6 09:32:56 UTC 2011


commit 8801f79429558f0c538280a8be729d7dcb59fe07
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Mar 6 10:30:19 2011 +0100

    update to 0.16

 .gitignore                       |    1 +
 perl-MooseX-Params-Validate.spec |   22 ++++++++--------------
 sources                          |    2 +-
 3 files changed, 10 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0eb9667..4154da1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 MooseX-Params-Validate-0.14.tar.gz
+/MooseX-Params-Validate-0.16.tar.gz
diff --git a/perl-MooseX-Params-Validate.spec b/perl-MooseX-Params-Validate.spec
index 56dca47..7eaa278 100644
--- a/perl-MooseX-Params-Validate.spec
+++ b/perl-MooseX-Params-Validate.spec
@@ -1,12 +1,11 @@
 Name:           perl-MooseX-Params-Validate
 Summary:        Extension of Params::Validate using Moose's types
-Version:        0.14
-Release:        2%{?dist}
+Version:        0.16
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/MooseX-Params-Validate-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/MooseX-Params-Validate/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
 
@@ -17,15 +16,11 @@ BuildRequires:  perl(Moose) >= 0.58
 BuildRequires:  perl(Params::Validate) >= 0.88
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Sub::Exporter)
-BuildRequires:  perl(Test::Exception) >= 0.21
-BuildRequires:  perl(Test::More) >= 0.62
+BuildRequires:  perl(Test::Fatal) >= 0.001
+BuildRequires:  perl(Test::More) >= 0.88
 
-Requires:       perl(Carp)
-Requires:       perl(Devel::Caller)
 Requires:       perl(Moose) >= 0.58
 Requires:       perl(Params::Validate) >= 0.88
-Requires:       perl(Scalar::Util)
-Requires:       perl(Sub::Exporter)
 
 
 %{?perl_default_filter}
@@ -44,8 +39,6 @@ the "official" one by any means though.
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -55,9 +48,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc ChangeLog README
@@ -65,6 +55,10 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 06 2011 Iain Arnell <iarnell at gmail.com> 0.16-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Tue Dec 21 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.14-2
 - 661697 rebuild for fixing problems with vendorach/lib
 
diff --git a/sources b/sources
index ebbcc7a..c6892cd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-550ff3a83365ab48065f52562cf1ba23  MooseX-Params-Validate-0.14.tar.gz
+625a7572196ba61c98e6640c11ffa2c5  MooseX-Params-Validate-0.16.tar.gz



More information about the perl-devel mailing list