[perl-Devel-GlobalDestruction] Update to 0.04

Paul Howarth pghmcfc at fedoraproject.org
Fri Jan 13 12:03:37 UTC 2012


commit f8e941ed87018573328f0063115bcba00fba1a96
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Jan 13 12:02:40 2012 +0000

    Update to 0.04
    
    - New upstream release 0.04
      - To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself
        instead of a specific perl version
      - Update the documentation to reflect the use of ${^GLOBAL_PHASE} if available
      - Stop depending on Scope::Guard for the tests
      - Upgrade ppport.h from version 3.13 to 3.19
    - Drop no-longer-necessary buildreq perl(Scope::Guard)
    - Use DESTDIR rather than PERL_INSTALL_ROOT
    - BR: perl(XSLoader)

 perl-Devel-GlobalDestruction.spec |   47 ++++++++++++++++++++++--------------
 sources                           |    2 +-
 2 files changed, 30 insertions(+), 19 deletions(-)
---
diff --git a/perl-Devel-GlobalDestruction.spec b/perl-Devel-GlobalDestruction.spec
index 2ed9461..73f72cb 100644
--- a/perl-Devel-GlobalDestruction.spec
+++ b/perl-Devel-GlobalDestruction.spec
@@ -1,24 +1,24 @@
 # Package is noarch from perl 5.13.7
 %global noarch_package %(perl -e 'print (($] >= 5.013007) ? 1 : 0);')
 
-Name:           perl-Devel-GlobalDestruction 
-Version:        0.03 
-Release:        3%{?dist}
-# see lib/Devel/GlobalDestruction.pm
-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 
+Name:		perl-Devel-GlobalDestruction
+Version:	0.04
+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
 %if %{noarch_package}
-BuildArch:      noarch
+BuildArch:	noarch
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
-BuildRequires:  perl(ExtUtils::MakeMaker) 
-BuildRequires:  perl(Scope::Guard)
-BuildRequires:  perl(Sub::Exporter)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+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))
 
+# Don't "provide" private Perl libs
 %{?perl_default_filter}
 
 %description
@@ -36,12 +36,12 @@ global destruction is in effect.
 %setup -q -n Devel-GlobalDestruction-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{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
@@ -51,7 +51,7 @@ find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 make test
 
 %clean
-rm -rf %{buildroot} 
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -65,6 +65,17 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Devel::GlobalDestruction.3pm*
 
 %changelog
+* 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
+    instead of a specific perl version
+  - Update the documentation to reflect the use of ${^GLOBAL_PHASE} if available
+  - Stop depending on Scope::Guard for the tests
+  - Upgrade ppport.h from version 3.13 to 3.19
+- Drop no-longer-necessary buildreq perl(Scope::Guard)
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- BR: perl(XSLoader)
+
 * Wed Jan 11 2012 Paul Howarth <paul at city-fan.org> - 0.03-3
 - Fedora 17 mass rebuild
 
diff --git a/sources b/sources
index e3054c9..23f804b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-09b70f95536464d8901675f230fbc3aa  Devel-GlobalDestruction-0.03.tar.gz
+823ee705f0c1c59cbf73cbab5bdf08f7  Devel-GlobalDestruction-0.04.tar.gz



More information about the perl-devel mailing list