commit 3e84d4abdd12f84b8e92e73cd0cd019d97dcc116 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Fri Dec 5 09:53:47 2014 +0100 2.82 bump .gitignore | 1 + .rpmlint | 2 ++ perl-autobox.spec | 43 +++++++++++++++++++++++++++++++------------ sources | 2 +- 4 files changed, 35 insertions(+), 13 deletions(-) --- diff --git a/.gitignore b/.gitignore index 62404fb..3442d68 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ autobox-2.55.tar.gz /autobox-2.75.tar.gz /autobox-2.76.tar.gz /autobox-2.77.tar.gz +/autobox-2.82.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..36cc9db --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* pragma"); diff --git a/perl-autobox.spec b/perl-autobox.spec index 8534d22..57a2a46 100644 --- a/perl-autobox.spec +++ b/perl-autobox.spec @@ -1,22 +1,40 @@ Name: perl-autobox -Version: 2.77 -Release: 4%{?dist} +Version: 2.82 +Release: 1%{?dist} Summary: Call methods on native types License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/autobox/ Source0: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/autobox-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +# Data::Dumper not used at tests +BuildRequires: perl(Exporter) +BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scope::Guard) >= 0.20 +BuildRequires: perl(Storable) +BuildRequires: perl(XSLoader) +# Tests: +BuildRequires: perl(blib) +BuildRequires: perl(FindBin) +BuildRequires: perl(lib) BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%{?filter_setup: -%filter_from_requires /perl(autobox::universal)/d -%?perl_default_filter -} -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(autobox::universal\\) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Data::Dumper) +Requires: perl(Scope::Guard) >= 0.20 +# autobox::universal is hiden for PAUSE but documented for public use, +# CPAN RT#100717 +Provides: perl(autobox::universal) = %{version} + +%{?perl_default_filter} +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Scope::Guard\\)$ %description The autobox pragma allows methods to be called on integers, floats, @@ -27,15 +45,13 @@ blessed references. %setup -q -n autobox-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} - find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; - %{_fixperms} %{buildroot}/* %check @@ -48,6 +64,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Dec 05 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 2.82-1 +- 2.82 bump + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.77-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 3867dc7..caae7df 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c26f258bb1239b772c0ced094cbe75fc autobox-2.77.tar.gz +fb9ad0bf723614e1add278bedc965ee6 autobox-2.82.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