Update to 0.11

- New upstream release 0.11
  - Add test for Perl's subroutine signatures feature (GH#5)
  - Do not let get_code_location() segfault on XSUBs
- BR: perl-devel for EXTERN.h
- Drop EL-5 support
This commit is contained in:
Paul Howarth 2015-09-04 16:31:48 +01:00
parent 1156c82040
commit 1d7d195c5f
2 changed files with 19 additions and 9 deletions

View File

@ -1,14 +1,17 @@
Name: perl-Sub-Identify
Version: 0.10
Release: 3%{?dist}
Version: 0.11
Release: 1%{?dist}
Summary: Retrieve names of code references
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sub-Identify/
Source0: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Sub-Identify-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(B)
@ -16,6 +19,10 @@ BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(XSLoader)
# Test Suite
%if %(perl -e 'print $] >= 5.020 ? 1 : 0;')
BuildRequires: perl(feature)
%endif
BuildRequires: perl(List::Util)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(warnings)
@ -42,7 +49,6 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
@ -51,9 +57,6 @@ find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
%check
make test
%clean
rm -rf %{buildroot}
%files
%doc Changes README.mdown TODO.mdown t/
%{perl_vendorarch}/auto/Sub/
@ -61,6 +64,13 @@ rm -rf %{buildroot}
%{_mandir}/man3/Sub::Identify.3*
%changelog
* Fri Sep 4 2015 Paul Howarth <paul@city-fan.org> - 0.11-1
- Update to 0.11
- Add test for Perl's subroutine signatures feature (GH#5)
- Do not let get_code_location() segfault on XSUBs
- BR: perl-devel for EXTERN.h
- Drop EL-5 support
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
08bb2f22c85007d2cbb0eb9541c77355 Sub-Identify-0.10.tar.gz
8c1e2f4c13b6a7e2d0f2a56c99fb8c87 Sub-Identify-0.11.tar.gz