f38
Petr Písař 10 years ago
parent a68bd826db
commit 08747f8203

1
.gitignore vendored

@ -4,3 +4,4 @@ autobox-2.55.tar.gz
/autobox-2.75.tar.gz /autobox-2.75.tar.gz
/autobox-2.76.tar.gz /autobox-2.76.tar.gz
/autobox-2.77.tar.gz /autobox-2.77.tar.gz
/autobox-2.82.tar.gz

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* pragma");

@ -1,22 +1,40 @@
Name: perl-autobox Name: perl-autobox
Version: 2.77 Version: 2.82
Release: 7%{?dist} Release: 1%{?dist}
Summary: Call methods on native types Summary: Call methods on native types
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/autobox/ URL: http://search.cpan.org/dist/autobox/
Source0: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/autobox-%{version}.tar.gz 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(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(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::More)
BuildRequires: perl(Test::Pod) BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Data::Dumper)
%{?filter_setup: Requires: perl(Scope::Guard) >= 0.20
%filter_from_requires /perl(autobox::universal)/d # autobox::universal is hiden for PAUSE but documented for public use,
%?perl_default_filter # CPAN RT#100717
} Provides: perl(autobox::universal) = %{version}
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(autobox::universal\\)
%{?perl_default_filter}
# Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Scope::Guard\\)$
%description %description
The autobox pragma allows methods to be called on integers, floats, The autobox pragma allows methods to be called on integers, floats,
@ -27,15 +45,13 @@ blessed references.
%setup -q -n autobox-%{version} %setup -q -n autobox-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
@ -48,6 +64,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Dec 05 2014 Petr Pisar <ppisar@redhat.com> - 2.82-1
- 2.82 bump
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.77-7 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.77-7
- Perl 5.20 rebuild - Perl 5.20 rebuild

@ -1 +1 @@
c26f258bb1239b772c0ced094cbe75fc autobox-2.77.tar.gz fb9ad0bf723614e1add278bedc965ee6 autobox-2.82.tar.gz

Loading…
Cancel
Save