Name: perl-Contextual-Return Version: 0.2.1 Release: 4%{?dist} Summary: Create context-senstive return values Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Contextual-Return Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Contextual-Return-v%{version}.tar.gz Source98: filter-provides.sh %define __perl_provides %{SOURCE98} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More), perl(Want), perl(version) BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module allows you to define return values of a perl sub which are appropriate given the calling context. %prep %setup -q -n Contextual-Return-v%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Sat Jul 25 2009 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Mar 4 2008 Tom "spot" Callaway 0.2.1-2 - rebuild for new perl * Fri Mar 30 2007 Chris Weyl v0.2.1-1 - update to v0.2.1 * Sat Mar 10 2007 Chris Weyl v0.2.0-1 - update to v0.2.0 - misc spec cleanups - add br on perl(ExtUtils::MakeMaker) to satisfy any perl/perl-devel split * Thu Aug 31 2006 Chris Weyl v0.1.0-2 - bump for mass rebuild * Mon Jul 3 2006 Chris Weyl v0.1.0-1 - bump rel for f-e release * Thu Jun 29 2006 Chris Weyl v0.1.0-0.1 - filter unwanted provides - add additional BR, the better to test with * Thu Jun 29 2006 Chris Weyl v0.1.0-0 - Initial spec file for F-E