095f8c6
Name: 		perl-Want
910674f
Version: 	0.18
2e7d281
Release: 	3%{?dist}
095f8c6
Summary: 	Perl module implementing a generalisation of wantarray
2eadaff
License: 	GPL+ or Artistic
095f8c6
Group: 		Development/Libraries
095f8c6
URL: 		http://search.cpan.org/dist/Want/
095f8c6
Source0: 	http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/Want-%{version}.tar.gz
095f8c6
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
095f8c6
095f8c6
Requires:  	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
6b898d3
BuildRequires:	perl(ExtUtils::MakeMaker)
6b898d3
BuildRequires:	perl(Test::More)
998b398
998b398
%description
998b398
This module generalises the mechanism of the wantarray
998b398
function, allowing a function to determine in some detail
998b398
how its return value is going to be immediately used.
998b398
998b398
%prep
998b398
%setup -q -n Want-%{version}
998b398
998b398
%build
095f8c6
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}"
998b398
make %{?_smp_mflags}
998b398
998b398
%install
998b398
rm -rf $RPM_BUILD_ROOT
095f8c6
make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
998b398
095f8c6
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
095f8c6
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
998b398
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
095f8c6
chmod -R u+w $RPM_BUILD_ROOT/*
998b398
998b398
%clean
998b398
rm -rf $RPM_BUILD_ROOT
998b398
8387f6b
%check
998b398
make test
998b398
998b398
%files
998b398
%defattr(-,root,root,-)
998b398
%doc Changes README
998b398
%{perl_vendorarch}/Want*
998b398
%{perl_vendorarch}/auto/Want*
998b398
%{_mandir}/man3/*
998b398
998b398
%changelog
2e7d281
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-3
2e7d281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2e7d281
7e5db73
* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-2
7e5db73
- rebuild for new perl
7e5db73
910674f
* Wed Feb 06 2008 Ralf Corsépius <rc040203@freenet.de> - 0.18-1
910674f
- Upstream update.
910674f
81cd77f
* Wed Jan 02 2008 Ralf Corsépius <rc040203@freenet.de> - 0.16-1
81cd77f
- Upstream update.
81cd77f
2eadaff
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.15-2
2eadaff
- Update license tag.
2eadaff
05718bb
* Thu Jul 26 2007 Ralf Corsépius <rc040203@freenet.de> - 0.15-1
05718bb
- Upstream update.
05718bb
afb634a
* Mon May 07 2007 Ralf Corsépius <rc040203@freenet.de> - 0.14-1
afb634a
- Upstream update.
afb634a
6b898d3
* Thu Apr 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.12-2
6b898d3
- Reflect perl package split.
6b898d3
a7f2da2
* Mon Sep 04 2006 Ralf Corsépius <rc040203@freenet.de> - 0.12-1
a7f2da2
- Upstream update.
a7f2da2
9bfb0e3
* Tue Apr 04 2006 Ralf Corsépius <rc040203@freenet.de> - 0.10-1
9bfb0e3
- Upstream update.
9bfb0e3
095f8c6
* Mon Feb 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.09-3
095f8c6
- Rebuild.
095f8c6
095f8c6
* Sat Aug 13 2005 Ralf Corsepius <ralf@links2linux.de> - 0.09-2
095f8c6
- Streamline with FE spec-template.
095f8c6
8157cc0
* Sat Jul 02 2005 Ralf Corsepius <ralf@links2linux.de> - 0.09-1
8157cc0
- Upstream update to 0.09.