Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 77a55d2fc4a1c5dbe9d7a25ab9812b17 > files > 2

perl-Test-Random-20100119.173.355-2.mga3.src.rpm

%define upstream_name    Test-Random
%define upstream_version 20100119.173355

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 2

Summary:    Make testing random functions deterministic
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(Test::More)
BuildRequires: perl(Module::Build)
BuildArch: noarch

%description
This is a testing module to make testing random things a bit more
deterministic.

Controlling randomness
    Its main function is to allow you to repeat a failing test in the same
    way it ran before, even if it contained random elements. Test::Random
    will output the seed used by the random number generator. You can then
    use this seed to repeat the last test with exactly the same random
    elements.

    You can control the random seed used by Test::Random by setting the
    'TEST_RANDOM_SEED' environment variable. This is handy to make test
    runs repeatable.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Build.PL installdirs=vendor

./Build

%check
./Build test

%install
./Build install destdir=%{buildroot}

%files
%doc Changes LICENSE META.yml README
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog

* Sun Jan 13 2013 umeabot <umeabot> 20100119.173.355-2.mga3
+ Revision: 373725
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Nov 05 2011 kharec <kharec> 20100119.173.355-1.mga2
+ Revision: 163176
- imported package perl-Test-Random