commit a782e8595368d8b5939a4cd80cdf74a1a2c9b74c Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Fri Jun 14 22:07:03 2013 +0200 Initial import. .gitignore | 1 + perl-Future.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..8617ede 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Future-0.13.tar.gz diff --git a/perl-Future.spec b/perl-Future.spec new file mode 100644 index 0000000..6e95684 --- /dev/null +++ b/perl-Future.spec @@ -0,0 +1,53 @@ +Name: perl-Future +Version: 0.13 +Release: 2%{?dist} +Summary: Perl object system to represent an operation awaiting completion +License: GPL+ or Artistic + +URL: http://search.cpan.org/dist/Future/ +Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Future-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::Identity) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Refcount) +BuildRequires: perl(Test::Warn) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +A Future object represents an operation that is currently in progress, or +has recently completed. It can be used in a variety of ways to manage the +flow of control, and data, through an asynchronous program. + +%prep +%setup -q -n Future-%{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 examples LICENSE META.json README +%{perl_vendorlib}/Future* +%{_mandir}/man3/* + +%changelog +* Fri Jun 14 2013 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.13-2 +- Add perl(Test::Pod) as a BR, per review (#974559) + +* Fri Jun 14 2013 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.13-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..59a96c2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +33b1070605a3c8afa9c88c6f6ddfcf51 Future-0.13.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