[perl-Devel-GlobalDestruction] Update to 0.05

Paul Howarth pghmcfc at fedoraproject.org
Fri Apr 27 10:38:58 UTC 2012


commit 99282210101eab75400937c9514dbc79efd45249
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Apr 27 11:38:02 2012 +0100

    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

 perl-Devel-GlobalDestruction.spec |   24 ++++++++++++++++++------
 sources                           |    2 +-
 2 files changed, 19 insertions(+), 7 deletions(-)
---
diff --git a/perl-Devel-GlobalDestruction.spec b/perl-Devel-GlobalDestruction.spec
index 73f72cb..182932f 100644
--- a/perl-Devel-GlobalDestruction.spec
+++ b/perl-Devel-GlobalDestruction.spec
@@ -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 at 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 at city-fan.org> - 0.04-1
 - Update to 0.04
   - To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself
diff --git a/sources b/sources
index 23f804b..c3f435c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-823ee705f0c1c59cbf73cbab5bdf08f7  Devel-GlobalDestruction-0.04.tar.gz
+e99ef189e9f85549e42c32b5168f7f47  Devel-GlobalDestruction-0.05.tar.gz


More information about the scm-commits mailing list