%define pkgname UNIVERSAL-can Name: perl-%{pkgname} Version: 1.20140328 Release: 1%{?_dist_release} Summary: Hack around people calling UNIVERSAL::can() as a function Group: Development/Libraries License: Artistic or GPL+ URL: http://search.cpan.org/dist/UNIVERSAL-can/ Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Simple) >= 0.60 BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Vendor: Project Vine Distribution: Vine Linux Packager: shaolin %description The UNIVERSAL class provides a few default methods so that all objects can use them. Object orientation allows programmers to override these methods in subclasses to provide more specific and appropriate behavior. Some authors call methods in the UNIVERSAL class on potential invocants as functions, bypassing any possible overriding. This is wrong and you should not do it. Unfortunately, not everyone heeds this warning and their bad code can break your good code. %prep %setup -q -n UNIVERSAL-can-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; chmod -R u+w %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/UNIVERSAL/ %{_mandir}/man3/*.3* %changelog * Sat Oct 11 2014 Ryoichi INAGAKI - 1.20140328-1 - updated to 1.20140328 - build with perl 5.16.3 * Thu Mar 02 2012 MATSUBAYASHI Kohji - 1.15-7 - rebuild * Mon Feb 20 2012 MATSUBAYASHI Kohji - 1.15-6 - initial build for Vine Linux * Mon Jun 20 2011 Marcela Mašláňová - 1.15-6 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 23 2010 Marcela Maslanova - 1.15-4 - 661697 rebuild for fixing problems with vendorach/lib * Fri May 07 2010 Marcela Maslanova - 1.15-3 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 1.15-2 - rebuild against perl 5.10.1 * Wed Oct 7 2009 Marcela Mašláňová - 1.15-1 - update to new upstream release * Sun Jul 26 2009 Fedora Release Engineering - 1.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Mar 5 2008 Tom "spot" Callaway - 1.12-2 - rebuild for new perl * Wed Apr 5 2006 Jose Pedro Oliveira - 1.12-1 - Update to 1.12. * Fri Feb 10 2006 Jose Pedro Oliveira - 1.11-1 - Update to 1.11. - No longer build requires perl(Test::Exception). * Thu Feb 9 2006 Jose Pedro Oliveira - 1.03-2 - Missing build requirement: perl(Test::Exception). * Wed Feb 8 2006 Jose Pedro Oliveira - 1.03-1 - Update to 1.03. * Tue Dec 27 2005 Jose Pedro Oliveira - 1.01-1 - First build.