From 353aedee3128bf27e76bdb3bc0586ba0ec3152cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Wed, 12 Nov 2014 16:21:14 +0100 Subject: [PATCH] 0.10012 bump - Test suite enhancements and 5.10 compatibility fixes --- .gitignore | 1 + perl-Class-Accessor-Grouped.spec | 61 +++++++++++++++++++++----------- sources | 2 +- 3 files changed, 43 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index d8aa50d..e9e906c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ Class-Accessor-Grouped-0.09002.tar.gz /Class-Accessor-Grouped-0.10006.tar.gz /Class-Accessor-Grouped-0.10009.tar.gz /Class-Accessor-Grouped-0.10010.tar.gz +/Class-Accessor-Grouped-0.10012.tar.gz diff --git a/perl-Class-Accessor-Grouped.spec b/perl-Class-Accessor-Grouped.spec index a339d8d..636040f 100644 --- a/perl-Class-Accessor-Grouped.spec +++ b/perl-Class-Accessor-Grouped.spec @@ -1,29 +1,48 @@ Name: perl-Class-Accessor-Grouped -Version: 0.10010 -Release: 3%{?dist} +Version: 0.10012 +Release: 1%{?dist} Summary: Build groups of accessors License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Class-Accessor-Grouped/ Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/Class-Accessor-Grouped-%{version}.tar.gz BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -BuildRequires: perl(ExtUtils::CBuilder) -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.62 +# Build +BuildRequires: perl +BuildRequires: perl(Config) +BuildRequires: perl(CPAN) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MM_Unix) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Runtime BuildRequires: perl(Carp) -BuildRequires: perl(Class::XSAccessor) >= 1.13 +BuildRequires: perl(constant) +BuildRequires: perl(Module::Runtime) +BuildRequires: perl(mro) +BuildRequires: perl(Scalar::Util) +# Tests only +BuildRequires: perl(base) +BuildRequires: perl(Class::XSAccessor) +BuildRequires: perl(Data::Dumper) BuildRequires: perl(Devel::Hide) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Spec::Unix) +BuildRequires: perl(FindBin) +BuildRequires: perl(lib) BuildRequires: perl(Package::Stash) -BuildRequires: perl(Scalar::Util) -BuildRequires: perl(Module::Runtime) >= 0.012 -BuildRequires: perl(Sub::Name) >= 0.05 +BuildRequires: perl(Sub::Name) +BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Exception) >= 0.31 -BuildRequires: perl(CPAN) - -Requires: perl(Class::XSAccessor) >= 1.13 -Requires: perl(Class::Inspector) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Class::XSAccessor) >= 1.19 Requires: perl(Sub::Name) >= 0.05 %{?perl_default_filter} @@ -36,25 +55,27 @@ getters and setters. %setup -q -n Class-Accessor-Grouped-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} - -find %{buildroot} -type f -name .packlist -exec rm -f {} \; - +find %{buildroot} -type f -name .packlist -exec rm -f {} + %{_fixperms} %{buildroot}/* %check make test %files -%doc Changes README t/ +%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Nov 12 2014 Petr Ĺ abata - 0.10012-1 +- 0.10012 bump +- Test suite enhancements and 5.10 compatibility fixes + * Fri Aug 29 2014 Jitka Plesnikova - 0.10010-3 - Perl 5.20 rebuild diff --git a/sources b/sources index 5d60ac6..4406c88 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c2416c6d68b9bda3a8cbe9daff3a140c Class-Accessor-Grouped-0.10010.tar.gz +cd9fad3112c315d60b5fca5b17e98996 Class-Accessor-Grouped-0.10012.tar.gz