Update to 0.05

- New upstream release 0.05
  - Add pure-perl implementation for situations where neither ${^GLOBAL_PHASE}
    nor XS are available
- This release by DOY -> update source URL
- BR: perl(XSLoader) only if we're doing an XS build, and in that case add a
  runtime dependency on it and BR: perl(ExtUtils::CBuilder) ≥ 0.27 too
- Add runtime dependency on perl(Carp)
- Drop %defattr, redundant since rpm 4.4
This commit is contained in:
Paul Howarth 2012-04-27 11:38:02 +01:00
parent f8e941ed87
commit 9928221010
2 changed files with 19 additions and 7 deletions

View File

@ -2,21 +2,25 @@
%global noarch_package %(perl -e 'print (($] >= 5.013007) ? 1 : 0);')
Name: perl-Devel-GlobalDestruction
Version: 0.04
Version: 0.05
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Expose PL_dirty, the flag that marks global destruction
Url: http://search.cpan.org/dist/Devel-GlobalDestruction
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Devel-GlobalDestruction-%{version}.tar.gz
Source: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Devel-GlobalDestruction-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
%if %{noarch_package}
BuildArch: noarch
%else
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
BuildRequires: perl(XSLoader)
Requires: perl(XSLoader)
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(XSLoader)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
# Don't "provide" private Perl libs
%{?perl_default_filter}
@ -44,7 +48,6 @@ 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 {} ';'
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check
@ -54,7 +57,6 @@ make test
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes t/
%if %{noarch_package}
%{perl_vendorlib}/Devel/
@ -65,6 +67,16 @@ rm -rf %{buildroot}
%{_mandir}/man3/Devel::GlobalDestruction.3pm*
%changelog
* Fri Apr 27 2012 Paul Howarth <paul@city-fan.org> - 0.05-1
- Update to 0.05
- Add pure-perl implementation for situations where neither ${^GLOBAL_PHASE}
nor XS are available
- This release by DOY -> update source URL
- BR: perl(XSLoader) only if we're doing an XS build, and in that case add a
runtime dependency on it and BR: perl(ExtUtils::CBuilder) 0.27 too
- Add runtime dependency on perl(Carp)
- Drop %%defattr, redundant since rpm 4.4
* Fri Jan 13 2012 Paul Howarth <paul@city-fan.org> - 0.04-1
- Update to 0.04
- To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself

View File

@ -1 +1 @@
823ee705f0c1c59cbf73cbab5bdf08f7 Devel-GlobalDestruction-0.04.tar.gz
e99ef189e9f85549e42c32b5168f7f47 Devel-GlobalDestruction-0.05.tar.gz