f38
Petr Šabata 10 years ago
parent 08747f8203
commit 1292338413

1
.gitignore vendored

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

@ -1,5 +1,5 @@
Name: perl-autobox
Version: 2.82
Version: 2.83
Release: 1%{?dist}
Summary: Call methods on native types
License: GPL+ or Artistic
@ -8,7 +8,7 @@ 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(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
@ -25,12 +25,9 @@ BuildRequires: perl(FindBin)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More)
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)
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
@ -45,13 +42,12 @@ blessed references.
%setup -q -n autobox-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
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 {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
%{_fixperms} %{buildroot}/*
%check
@ -64,6 +60,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed Feb 04 2015 Petr Šabata <contyk@redhat.com> - 2.83-1
- 2.83 bump
* Fri Dec 05 2014 Petr Pisar <ppisar@redhat.com> - 2.82-1
- 2.82 bump

@ -1 +1 @@
fb9ad0bf723614e1add278bedc965ee6 autobox-2.82.tar.gz
7a4b2c4c644e6f02ccb1d964fabebde5 autobox-2.83.tar.gz

Loading…
Cancel
Save