commit bfc1e8e3376c4958fd3980a06b35ba3e7a8a4d73 Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Mon Oct 1 00:14:29 2012 +0200 Initial import .gitignore | 1 + perl-Test-Type.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 50 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d90c3a4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Test-Type-1.1.0.tar.gz diff --git a/perl-Test-Type.spec b/perl-Test-Type.spec new file mode 100644 index 0000000..17a396d --- /dev/null +++ b/perl-Test-Type.spec @@ -0,0 +1,48 @@ +Name: perl-Test-Type +Version: 1.1.0 +Release: 1%{?dist} +Summary: Functions to validate data types in test files +License: GPLv3 +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-Type/ +Source0: http://www.cpan.org/authors/id/A/AU/AUBERTG/Test-Type-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Validate::Type) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Builder::Tester) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +The Test::Type module provides functions that allow you to validate data types +in test files. + +%prep +%setup -q -n Test-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 ignore.txt LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Sep 24 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.1.0-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ffc8afc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +554e1f9684240dbc7788539cc907d9f7 Test-Type-1.1.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