pghmcfc pushed to perl-Sub-Identify (f23). "Update to 0.11 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Sep 4 15:40:04 UTC 2015


From 1d7d195c5f422181a7137ef2f1970087a6ec7947 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Fri, 4 Sep 2015 16:31:48 +0100
Subject: 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

diff --git a/perl-Sub-Identify.spec b/perl-Sub-Identify.spec
index 61f3b8f..8a4a7d0 100644
--- a/perl-Sub-Identify.spec
+++ b/perl-Sub-Identify.spec
@@ -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 at 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 at lists.fedoraproject.org> - 0.10-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index c69bb7e..1cc3f29 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-08bb2f22c85007d2cbb0eb9541c77355  Sub-Identify-0.10.tar.gz
+8c1e2f4c13b6a7e2d0f2a56c99fb8c87  Sub-Identify-0.11.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Sub-Identify.git/commit/?h=f23&id=1d7d195c5f422181a7137ef2f1970087a6ec7947


More information about the perl-devel mailing list