Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 88a0c61b31f6e207304c5407f17bf64f > files > 2

perl-Return-Value-1.666001-1.fc14.src.rpm

Name:           perl-Return-Value
Version:        1.666001
Release:        1%{?dist}
Summary:        Polymorphic Return Values
Group:          Development/Libraries
License:        GPL+ or Artistic
URL:            http://search.cpan.org/dist/Return-Value/
Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Return-Value-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::Pod::Coverage)
BuildRequires:  perl(Test::Perl::Critic), perl(Test::More)
BuildArch:      noarch
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module provides polymorphic return values with a simple API that should 
get you what you're looking for in each context a return value is used in.

%prep
%setup -q -n Return-Value-%{version}

%build
sed -i '/LICENSE/ d' Makefile.PL
%{__perl} Makefile.PL INSTALLDIRS=vendor
make

%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

%check
make test PERL_TEST_CRITIC=1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README LICENSE
%{perl_vendorlib}/Return/
%{_mandir}/man3/*.3*

%changelog
* Mon Jul 12 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.666001-1
- update to 1.666001

* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.302-8
- Mass rebuild with perl-5.12.0

* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.302-7
- rebuild against perl 5.10.1

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.302-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.302-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sat Feb  2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.302-4
- rebuild for new perl

* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.302-3
- license fix

* Mon Apr  2 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.302-2
- remove LICENSE line from Makefile.PL
- add Test::Perl::Critic to fix tests

* Sun Apr  1 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.302-1
- Initial package for Fedora