%define upstream_name Test-Harness-Straps %define upstream_version 0.30 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Internal Test::Harness Iterator License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(File::Spec) BuildRequires: perl(Module::Build) BuildArch: noarch %description The construct use if CONDITION, MODULE => ARGUMENTS; has no effect unless 'CONDITION' is true. In this case the effect is the same as of %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Build.PL installdirs=vendor ./Build %check ./Build test %install rm -rf %buildroot ./Build install destdir=%{buildroot} %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.300.0-3.mga3 + Revision: 373561 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.300.0-2.mga1 + Revision: 27112 - mageia rebuild - imported package perl-Test-Harness-Straps