commit 7612050916145187040faceedefbb85392fd331d Author: Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> Date: Thu Feb 17 13:59:18 2011 +0100 update to 6.16 fix filtering of requires clean specfile according to current guidelines .gitignore | 1 + perl-Math-Random-MT-Auto.spec | 69 +++++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 37 insertions(+), 35 deletions(-) --- diff --git a/.gitignore b/.gitignore index 980ecd1..ff69bfe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Math-Random-MT-Auto-6.14.tar.gz +/Math-Random-MT-Auto-6.16.tar.gz diff --git a/perl-Math-Random-MT-Auto.spec b/perl-Math-Random-MT-Auto.spec index 035d721..a6c2614 100644 --- a/perl-Math-Random-MT-Auto.spec +++ b/perl-Math-Random-MT-Auto.spec @@ -1,24 +1,32 @@ Name: perl-Math-Random-MT-Auto -Version: 6.14 -Release: 7%{?dist} +Version: 6.16 +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 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# core -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::More) -# cpan +BuildRequires: perl(Carp) BuildRequires: perl(Config) +BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exception::Class) >= 1.22 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Fcntl) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(Math::Random::MT::Auto::Range) BuildRequires: perl(Object::InsideOut) >= 2.06 -# testing br's... -BuildRequires: perl(Test::Pod) >= 1.26 -BuildRequires: perl(Test::Pod::Coverage) >= 1.08 +BuildRequires: perl(Scalar::Util) >= 1.18 +BuildRequires: perl(strict) +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) %description The Mersenne Twister is a fast pseudorandom number generator (PRNG) that is @@ -26,50 +34,43 @@ capable of providing large volumes (> 10^6004) of "high quality" pseudorandom 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} +} + %prep %setup -q -n Math-Random-MT-Auto-%{version} -chmod -c -x examples/* - -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` | \ - sed -e '/^perl(Object::InsideOut)$/d' -EOF - -%define __perl_requires %{_builddir}/Math-Random-MT-Auto-%{version}/%{name}-req -chmod +x %{__perl_requires} - - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install -rm -rf %{buildroot} +make pure_install DESTDIR=$RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=%{buildroot} +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 \; -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} %{buildroot}/* +%{_fixperms} $RPM_BUILD_ROOT/* %check make test -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root,-) -%doc Changes README examples/ t/ +%doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Math* %{_mandir}/man3/* %changelog +* Thu Feb 17 2011 Marcela MaÅlÃÅovà <mmaslano@xxxxxxxxxx> 6.16-1 +- update to 6.16 +- fix filtering of requires +- clean specfile according to current guidelines + * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 6.14-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 25cac9c..d5e89bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2a41814737c21b759a5e0ff11796ea9e Math-Random-MT-Auto-6.14.tar.gz +602470f808dbac3f68b373ed1c2be16a Math-Random-MT-Auto-6.16.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