%define upstream_name Return-Value %define upstream_version 1.666002 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Polymorphic Return Values License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Return/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.470.0 BuildArch: noarch %description Polymorphic return values are really useful. Often, we just want to know if something worked or not. Other times, we'd like to know what the error text was. Still others, we may want to know what the error code was, and what the error properties were. We don't want to handle objects or data structures for every single return value, but we do want to check error conditions in our code because that's what good programmers do. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install %makeinstall_std %files %doc Changes LICENSE META.json META.yml MYMETA.yml README %{perl_vendorlib}/Return %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.666.2-2.mga3 + Revision: 372306 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 jquelin <jquelin> 1.666.2-1.mga3 + Revision: 342557 - update to 1.666002 * Tue Jan 18 2011 jquelin <jquelin> 1.666.1-1.mga1 + Revision: 22809 - cleaning spec file - imported package perl-Return-Value