commit 55dae2c37fb4de88a3fad6aacb5ac55414ff0e59 Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Fri Sep 14 14:15:46 2012 +0200 Initial import (#855665) .gitignore | 1 + perl-Data-Validate-Type.spec | 56 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..8df464b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Data-Validate-Type-1.3.0.tar.gz diff --git a/perl-Data-Validate-Type.spec b/perl-Data-Validate-Type.spec new file mode 100644 index 0000000..1376016 --- /dev/null +++ b/perl-Data-Validate-Type.spec @@ -0,0 +1,56 @@ +Name: perl-Data-Validate-Type +Version: 1.3.0 +Release: 2%{?dist} +Summary: Public interface to Params::Util offering data type validation functions +License: GPLv3 +Group: Development/Libraries +URL: http://search.cpan.org/dist/Data-Validate-Type/ +Source0: http://www.cpan.org/authors/id/A/AU/AUBERTG/Data-Validate-Type-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(lib) +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dump) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Params::Util) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module presents an alternative API to Params::Util which fixes a number +of drawbacks (function names start with an underscore, are uppercase and don't +pass PerlCritic validation). + +%prep +%setup -q -n Data-Validate-Type-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Sep 14 2012 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 1.3.0-2 +- Take into account package review (#855665) + +* Sun Sep 09 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.3.0-1 +- Initial creation diff --git a/sources b/sources index e69de29..22180a0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +524aa1bb42d45a140811bba7bd482b0c Data-Validate-Type-1.3.0.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