|
|
|
@ -1,11 +1,15 @@
|
|
|
|
|
Name: perl-autobox
|
|
|
|
|
Version: 2.83
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 2.84
|
|
|
|
|
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
|
|
|
|
|
# Build:
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
@ -45,11 +49,11 @@ blessed references.
|
|
|
|
|
%setup -q -n autobox-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
@ -65,6 +69,12 @@ make test
|
|
|
|
|
%{_mandir}/man3/autobox.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 30 2016 Paul Howarth <paul@city-fan.org> - 2.84-1
|
|
|
|
|
- Update to 2.84
|
|
|
|
|
- Compatibility fix for perl ≥ 5.25
|
|
|
|
|
- Update ppport.h from 3.20 to 3.35
|
|
|
|
|
- Add .travis.yml
|
|
|
|
|
|
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.83-6
|
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
|
|
|
|
|