commit 5bb26f4f1b4bb5780062c96be28bca173b5687ef Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Jan 19 17:38:13 2012 +0100 6.17 bump .gitignore | 1 + perl-Math-Random-MT-Auto.spec | 57 +++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 34 insertions(+), 26 deletions(-) --- diff --git a/.gitignore b/.gitignore index ff69bfe..04e0519 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Math-Random-MT-Auto-6.14.tar.gz /Math-Random-MT-Auto-6.16.tar.gz +/Math-Random-MT-Auto-6.17.tar.gz diff --git a/perl-Math-Random-MT-Auto.spec b/perl-Math-Random-MT-Auto.spec index e127803..aa96040 100644 --- a/perl-Math-Random-MT-Auto.spec +++ b/perl-Math-Random-MT-Auto.spec @@ -1,47 +1,54 @@ Name: perl-Math-Random-MT-Auto -Version: 6.16 -Release: 5%{?dist} +Version: 6.17 +Release: 1%{?dist} Summary: Auto-seeded Mersenne Twister PRNGs License: BSD Group: Development/Libraries URL: http://search.cpan.org/dist/Math-Random-MT-Auto/ Source0: http://www.cpan.org/authors/id/J/JD/JDHEDDEN/Math-Random-MT-Auto-%{version}.tar.gz -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time BuildRequires: perl(Carp) BuildRequires: perl(Config) -BuildRequires: perl(Data::Dumper) -BuildRequires: perl(Exception::Class) >= 1.22 -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Exception::Class) >= 1.32 BuildRequires: perl(Fcntl) -BuildRequires: perl(LWP::UserAgent) -BuildRequires: perl(Math::Random::MT::Auto::Range) -BuildRequires: perl(Object::InsideOut) >= 2.06 -BuildRequires: perl(Scalar::Util) >= 1.18 +BuildRequires: perl(Object::InsideOut) >= 3.85 +BuildRequires: perl(Object::InsideOut::Util) +BuildRequires: perl(Scalar::Util) >= 1.23 BuildRequires: perl(strict) +BuildRequires: perl(XSLoader) +# Tests only: +BuildRequires: perl(Data::Dumper) BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(Test::Spelling) BuildRequires: perl(threads) BuildRequires: perl(threads::shared) -BuildRequires: perl(warnings) -BuildRequires: perl(XSLoader) +# Optional tests +BuildRequires: perl(LWP::UserAgent) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Exception::Class) >= 1.32 +Requires: perl(Fcntl) +Requires: perl(Object::InsideOut) >= 3.85 +Requires: perl(Scalar::Util) >= 1.23 + +%{?perl_default_filter} + +# Removed underpsecified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Exception::Class\\)$ +%global __requires_exclude %__requires_exclude|^perl\\(Object::InsideOut\\) +%global __requires_exclude %__requires_exclude|^perl\\(Scalar::Util\\) %description -The Mersenne Twister is a fast pseudorandom number generator (PRNG) that is +The Mersenne Twister is a fast pseudo-random number generator (PRNG) that is capable of providing large volumes (> 10^6004) of "high quality" -pseudorandom data to applications that may exhaust available "truly" random +pseudo-random data to applications that may exhaust available "truly" random data sources or system-provided PRNGs such as rand. -%{?filter_setup: -%filter_from_requires /^perl(Object::InsideOut)$/d -%{?perl_default_filter} -} %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Object::InsideOut\\)$ %prep %setup -q -n Math-Random-MT-Auto-%{version} +chmod -x examples/* %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" @@ -49,24 +56,24 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT - find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files -%defattr(-,root,root,-) -%doc Changes README +%doc Changes README examples %{perl_vendorarch}/auto/* %{perl_vendorarch}/Math* %{_mandir}/man3/* %changelog +* Thu Jan 19 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 6.17-1 +- 6.17 bump + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 6.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index d5e89bc..27ab23c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -602470f808dbac3f68b373ed1c2be16a Math-Random-MT-Auto-6.16.tar.gz +9c1680eec2d1d5b6cbb4cce48f7c2062 Math-Random-MT-Auto-6.17.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel