Update to 0.14

- New upstream release 0.14
  - Stop relying on . being in @INC
  - Switch to ExtUtils::HasCompiler to detect presence of a compiler
- Classify buildreqs by usage
This commit is contained in:
Paul Howarth 2016-11-01 10:36:06 +00:00
parent 74ab14ddf7
commit 14502c66eb
2 changed files with 32 additions and 19 deletions

View File

@ -1,13 +1,9 @@
# Want to use Devel::GlobalDestruction::XS with perl < 5.13.7
%if 0%{?rhel} && (0%{?rhel} < 7)
%global want_xs 1
%else
%global want_xs 0
%endif
%global want_xs 0%{?fedora} < 16 && 0%{?rhel} < 7
Name: perl-Devel-GlobalDestruction
Version: 0.13
Release: 7%{?dist}
Version: 0.14
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Expose PL_dirty, the flag that marks global destruction
@ -15,25 +11,36 @@ URL: http://search.cpan.org/dist/Devel-GlobalDestruction
Source: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Devel-GlobalDestruction-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(B)
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Text::ParseWords)
# Module Runtime
BuildRequires: perl(B)
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001011
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(Config)
BuildRequires: perl(FindBin)
BuildRequires: perl(IPC::Open2)
BuildRequires: perl(POSIX)
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001011
BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(strict)
BuildRequires: perl(threads)
BuildRequires: perl(threads::shared)
BuildRequires: perl(warnings)
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
# Use Devel::GlobalDestruction::XS on older perls
%if %{want_xs}
@ -62,8 +69,8 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
@ -74,9 +81,15 @@ rm -rf %{buildroot}
%files
%doc Changes README t/
%{perl_vendorlib}/Devel/
%{_mandir}/man3/Devel::GlobalDestruction.3pm*
%{_mandir}/man3/Devel::GlobalDestruction.3*
%changelog
* Tue Nov 1 2016 Paul Howarth <paul@city-fan.org> - 0.14-1
- Update to 0.14
- Stop relying on . being in @INC
- Switch to ExtUtils::HasCompiler to detect presence of a compiler
- Classify buildreqs by usage
* Fri Jul 22 2016 Petr Pisar <ppisar@redhat.com> - 0.13-7
- Use distribution instead of perl version to control build-time dependencies

View File

@ -1 +1 @@
e7be00040827e204b2b6cba2f3166074 Devel-GlobalDestruction-0.13.tar.gz
24221ba322cf2dc46a1fc99b53e2380b Devel-GlobalDestruction-0.14.tar.gz