Hello community,
here is the log from the commit of package perl-Devel-GlobalDestruction for openSUSE:Factory
checked in at Mon Feb 7 12:21:14 CET 2011.
--------
--- perl-Devel-GlobalDestruction/perl-Devel-GlobalDestruction.changes 2010-11-11 20:08:37.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-Devel-GlobalDestruction/perl-Devel-GlobalDestruction.changes 2011-02-04 23:56:25.000000000 +0100
@@ -1,0 +2,11 @@
+Fri Feb 4 22:53:28 UTC 2011 - chris@computersalat.de
+
+- recreated by cpanspec 1.78.03
+- removed Author
+
+-------------------------------------------------------------------
+Wed Dec 1 13:32:00 UTC 2010 - coolo@novell.com
+
+- switch to perl_requires macro
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Devel-GlobalDestruction-0.02.tar.bz2
New:
----
Devel-GlobalDestruction-0.03.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Devel-GlobalDestruction.spec ++++++
--- /var/tmp/diff_new_pack.DY9cZc/_old 2011-02-07 12:20:46.000000000 +0100
+++ /var/tmp/diff_new_pack.DY9cZc/_new 2011-02-07 12:20:46.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package perl-Devel-GlobalDestruction (Version 0.02)
+# spec file for package perl-Devel-GlobalDestruction
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,29 +15,26 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
Name: perl-Devel-GlobalDestruction
%define cpan_name Devel-GlobalDestruction
-Summary: Expose PL_dirty, the flag which marks global destruction
-Version: 0.02
+Summary: Expose PL_dirty, the flag which marks global
+Version: 0.03
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Devel-GlobalDestruction/
-#Source: http://www.cpan.org/modules/by-module/Devel/Devel-GlobalDestruction-%{version}.tar.gz
+#Source: http://www.cpan.org/authors/id/F/FL/FLORA/Devel-GlobalDestruction-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
-%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
-%endif
BuildRequires: perl(Scope::Guard)
BuildRequires: perl(Sub::Exporter)
-Requires: perl = %{perl_version}
Requires: perl(Scope::Guard)
Requires: perl(Sub::Exporter)
+%{perl_requires}
%description
Perl's global destruction is a little tricky to deal with WRT finalizers
@@ -47,18 +44,14 @@
destruction is happenning you only need the destructors that free up non
process local resources to actually execute.
-For these constructors you can avoid the mess by simply bailing out if global
-destruction is in effect.
-
-Authors:
---------
- Yuval Kogman
+For these constructors you can avoid the mess by simply bailing out if
+global destruction is in effect.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
@@ -70,10 +63,10 @@
%perl_gen_filelist
%clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
%files -f %{name}.files
-%defattr(-,root,root,-)
-%doc
+%defattr(644,root,root,755)
+%doc Changes
%changelog
++++++ Devel-GlobalDestruction-0.02.tar.bz2 -> Devel-GlobalDestruction-0.03.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-GlobalDestruction-0.02/.gitignore new/Devel-GlobalDestruction-0.03/.gitignore
--- old/Devel-GlobalDestruction-0.02/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/Devel-GlobalDestruction-0.03/.gitignore 2010-12-01 21:50:08.000000000 +0100
@@ -0,0 +1,17 @@
+.*
+!.gitignore
+Makefile*
+!Makefile.PL
+*META.yml
+blib
+build
+inc
+pm_to_blib
+MANIFEST*
+!MANIFEST.SKIP
+Debian*
+README
+Devel-GlobalDestruction-*
+*.bs
+*.o
+*.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-GlobalDestruction-0.02/Changes new/Devel-GlobalDestruction-0.03/Changes
--- old/Devel-GlobalDestruction-0.02/Changes 1970-01-01 01:00:00.000000000 +0100
+++ new/Devel-GlobalDestruction-0.03/Changes 2010-12-01 21:59:14.000000000 +0100
@@ -0,0 +1,6 @@
+0.03
+ * Drop the XS code on perl versions recent enough to have ${^GLOBAL_PHASE}.
+ * Drop code to support perls older than 5.6. We've always been depending on
+ 5.6 anyway.
+ + Use XSLoader without a fallback to DynaLoader.
+ + Use our instead of use vars.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-GlobalDestruction-0.02/MANIFEST new/Devel-GlobalDestruction-0.03/MANIFEST
--- old/Devel-GlobalDestruction-0.02/MANIFEST 2008-08-09 07:00:06.000000000 +0200
+++ new/Devel-GlobalDestruction-0.03/MANIFEST 2010-12-01 22:01:35.000000000 +0100
@@ -1,3 +1,5 @@
+.gitignore
+Changes
GlobalDestruction.xs
lib/Devel/GlobalDestruction.pm
Makefile.PL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-GlobalDestruction-0.02/META.yml new/Devel-GlobalDestruction-0.03/META.yml
--- old/Devel-GlobalDestruction-0.02/META.yml 2008-08-09 07:00:06.000000000 +0200
+++ new/Devel-GlobalDestruction-0.03/META.yml 2010-12-01 22:01:35.000000000 +0100
@@ -1,14 +1,23 @@
--- #YAML:1.0
-name: Devel-GlobalDestruction
-version: 0.02
-abstract: ~
-license: ~
-author: ~
-generated_by: ExtUtils::MakeMaker version 6.44
-distribution_type: module
-requires:
- Scope::Guard: 0
- Sub::Exporter: 0
+name: Devel-GlobalDestruction
+version: 0.03
+abstract: ~
+author: []
+license: unknown
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+requires:
+ perl: 5.006000
+ Scope::Guard: 0
+ Sub::Exporter: 0
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-GlobalDestruction-0.02/Makefile.PL new/Devel-GlobalDestruction-0.03/Makefile.PL
--- old/Devel-GlobalDestruction-0.02/Makefile.PL 2008-08-09 06:59:07.000000000 +0200
+++ new/Devel-GlobalDestruction-0.03/Makefile.PL 2010-12-01 21:50:08.000000000 +0100
@@ -1,18 +1,21 @@
#!/usr/bin/perl -w
use strict;
+require 5.006000;
use ExtUtils::MakeMaker;
WriteMakefile(
- NAME => 'Devel::GlobalDestruction',
- VERSION_FROM => 'lib/Devel/GlobalDestruction.pm',
- INSTALLDIRS => 'site',
- SIGN => 1,
- PL_FILES => { },
- PREREQ_PM => {
- 'Sub::Exporter' => 0,
- 'Scope::Guard' => 0,
- },
+ NAME => 'Devel::GlobalDestruction',
+ VERSION_FROM => 'lib/Devel/GlobalDestruction.pm',
+ INSTALLDIRS => 'site',
+ SIGN => 1,
+ PL_FILES => { },
+ MIN_PERL_VERSION => '5.006000',
+ PREREQ_PM => {
+ 'Sub::Exporter' => 0,
+ 'Scope::Guard' => 0,
+ },
+ ($] >= 5.013007 ? (XS => {}, C => []) : ()),
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-GlobalDestruction-0.02/SIGNATURE new/Devel-GlobalDestruction-0.03/SIGNATURE
--- old/Devel-GlobalDestruction-0.02/SIGNATURE 2008-08-09 07:00:09.000000000 +0200
+++ new/Devel-GlobalDestruction-0.03/SIGNATURE 2010-12-01 22:01:38.000000000 +0100
@@ -1,5 +1,5 @@
This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.55.
+signed via the Module::Signature module, version 0.66.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
@@ -14,18 +14,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+SHA1 1a7e2cee69e08f6074f4a35cc6be12dd9c3d5ff6 .gitignore
+SHA1 6c8abc1ab900168fc4f6de1094eee0a320900fe1 Changes
SHA1 bfaef5766f5884dd3095f0fd699f4c08a30a70fb GlobalDestruction.xs
-SHA1 3af819cb3361d55d2f6e6f7c4d6b507c3ef69103 MANIFEST
+SHA1 49d7ffcb052755d58db95cfffc8ac66f53f8bb42 MANIFEST
SHA1 190e9058eb9c6446a1a3f3ddf15b082f1ecde152 MANIFEST.SKIP
-SHA1 3cf80881c5a8942b6fca2101b1f1f64525d4ad53 META.yml
-SHA1 61b52050ec09fe13bca3bb2cbd942b4372b7f40e Makefile.PL
-SHA1 a68ad4df484b976a07611b0dfa7643393bcb9fb3 lib/Devel/GlobalDestruction.pm
+SHA1 b00dc4eb543e356b5d337556205d1f64f0b384a2 META.yml
+SHA1 28776b0c9967790e380ecef87253f00ff2dafddf Makefile.PL
+SHA1 2ffaf300cf028422b3ef8b8ee983ec2938b4855e lib/Devel/GlobalDestruction.pm
SHA1 6f942a3aa4b7201650bbc0cc2a3b3b6ca3b6a14c ppport.h
SHA1 10ff9fb74375ba61efcfa6da8c7b32a3068da968 t/basic.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (Darwin)
+Version: GnuPG v1.4.10 (GNU/Linux)
-iD8DBQFInSRWVCwRwOvSdBgRArrwAJ0XTjpbKqJYmHIBLVotnfR6lPKnuACgj6En
-pBnQAN6vmB8dM84TdI9F6uE=
-=nHbX
+iEYEARECAAYFAkz2t7AACgkQdC8qQo5jWl60rgCfaBk6yUp04E2urAdfL9wnhf/M
+vBEAn03pQPZzNS6lFpv3ZjQe+moX70MB
+=8n4T
-----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-GlobalDestruction-0.02/lib/Devel/GlobalDestruction.pm new/Devel-GlobalDestruction-0.03/lib/Devel/GlobalDestruction.pm
--- old/Devel-GlobalDestruction-0.02/lib/Devel/GlobalDestruction.pm 2008-08-09 06:59:32.000000000 +0200
+++ new/Devel-GlobalDestruction-0.03/lib/Devel/GlobalDestruction.pm 2010-12-01 22:00:13.000000000 +0100
@@ -5,29 +5,22 @@
use strict;
use warnings;
-use vars qw($VERSION @ISA);
+use XSLoader;
-BEGIN {
- $VERSION = '0.02';
-
- local $@;
-
- eval {
- require XSLoader;
- __PACKAGE__->XSLoader::load($VERSION);
- 1;
- } or do {
- require DynaLoader;
- push @ISA, 'DynaLoader';
- __PACKAGE__->bootstrap($VERSION);
- };
-}
+our $VERSION = '0.03';
use Sub::Exporter -setup => {
exports => [ qw(in_global_destruction) ],
groups => { default => [ -all ] },
};
+if ($] >= 5.013007) {
+ eval 'sub in_global_destruction () { ${^GLOBAL_PHASE} eq q[DESTRUCT] }';
+}
+else {
+ XSLoader::load(__PACKAGE__, $VERSION);
+}
+
__PACKAGE__
__END__
@@ -82,10 +75,12 @@
Lhttp://nothingmuch.woobling.org/code, and use C<darcs send> to commit
changes.
-=head1 AUTHOR
+=head1 AUTHORS
Yuval Kogman E<lt>nothingmuch@woobling.orgE<gt>
+Florian Ragwitz E<lt>rafl@debian.orgE<gt>
+
=head1 COPYRIGHT
Copyright (c) 2008 Yuval Kogman. All rights reserved
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org