Hello community,
here is the log from the commit of package perl-boolean for openSUSE:Factory checked in at 2016-07-12 23:53:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-boolean (Old)
and /work/SRC/openSUSE:Factory/.perl-boolean.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-boolean"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-boolean/perl-boolean.changes 2015-04-15 16:25:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-boolean.new/perl-boolean.changes 2016-07-12 23:53:20.000000000 +0200
@@ -1,0 +2,10 @@
+Sat Jul 9 06:16:45 UTC 2016 - coolo@suse.com
+
+- updated to 0.46
+ see /usr/share/doc/packages/perl-boolean/Changes
+
+ 0.46 Fri Jul 8 17:14:32 UTC 2016
+ - Apply PR/14 @dagolden++
+ - Adds CLONE method for thread safety
+
+-------------------------------------------------------------------
Old:
----
boolean-0.45.tar.gz
New:
----
boolean-0.46.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-boolean.spec ++++++
--- /var/tmp/diff_new_pack.RvqXb7/_old 2016-07-12 23:53:21.000000000 +0200
+++ /var/tmp/diff_new_pack.RvqXb7/_new 2016-07-12 23:53:21.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-boolean
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-boolean
-Version: 0.45
+Version: 0.46
Release: 0
%define cpan_name boolean
Summary: Boolean support for Perl
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/boolean/
-Source: http://www.cpan.org/authors/id/I/IN/INGY/%{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/I/IN/INGY/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
++++++ boolean-0.45.tar.gz -> boolean-0.46.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/CONTRIBUTING new/boolean-0.46/CONTRIBUTING
--- old/boolean-0.45/CONTRIBUTING 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/CONTRIBUTING 2016-07-08 19:14:36.000000000 +0200
@@ -57,4 +57,4 @@
-# This file generated by Zilla-Dist-0.0.189
+# This file generated by Zilla-Dist-0.0.193
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/Changes new/boolean-0.46/Changes
--- old/boolean-0.45/Changes 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/Changes 2016-07-08 19:14:36.000000000 +0200
@@ -1,3 +1,7 @@
+0.46 Fri Jul 8 17:14:32 UTC 2016
+ - Apply PR/14 @dagolden++
+ - Adds CLONE method for thread safety
+
0.45 Thu Feb 5 15:39:26 PST 2015
- Remove last vestige of -truth from the tests!
@@ -111,4 +115,3 @@
0.10 Sun Jun 10 15:46:33 PDT 2007
- isTrue('first release');
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/LICENSE new/boolean-0.46/LICENSE
--- old/boolean-0.45/LICENSE 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/LICENSE 2016-07-08 19:14:36.000000000 +0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2015 by Ingy döt Net.
+This software is copyright (c) 2016 by Ingy döt Net.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2015 by Ingy döt Net.
+This software is Copyright (c) 2016 by Ingy döt Net.
This is free software, licensed under:
@@ -22,7 +22,7 @@
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -272,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2015 by Ingy döt Net.
+This software is Copyright (c) 2016 by Ingy döt Net.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/MANIFEST new/boolean-0.46/MANIFEST
--- old/boolean-0.45/MANIFEST 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/MANIFEST 2016-07-08 19:14:36.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.029.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.047.
CONTRIBUTING
Changes
LICENSE
@@ -10,7 +10,8 @@
lib/boolean.pm
lib/boolean.pod
t/000-compile-modules.t
+t/author-pod-syntax.t
t/boolean.t
t/export.t
t/json.t
-t/release-pod-syntax.t
+t/threads.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/META.json new/boolean-0.46/META.json
--- old/boolean-0.45/META.json 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/META.json 2016-07-08 19:14:36.000000000 +0200
@@ -1,10 +1,10 @@
{
"abstract" : "Boolean support for Perl",
"author" : [
- "Ingy döt Net "
+ "Ingy d\u00f6t Net "
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.029, CPAN::Meta::Converter version 2.143240",
+ "generated_by" : "Dist::Zilla version 5.047, CPAN::Meta::Converter version 2.150005",
"license" : [
"perl_5"
],
@@ -15,10 +15,10 @@
"name" : "boolean",
"no_index" : {
"directory" : [
+ "example",
"inc",
"t",
- "xt",
- "example"
+ "xt"
]
},
"prereqs" : {
@@ -53,6 +53,6 @@
"web" : "https://github.com/ingydotnet/boolean-pm"
}
},
- "version" : "0.45"
+ "version" : "0.46"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/META.yml new/boolean-0.46/META.yml
--- old/boolean-0.45/META.yml 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/META.yml 2016-07-08 19:14:36.000000000 +0200
@@ -6,7 +6,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.029, CPAN::Meta::Converter version 2.143240'
+generated_by: 'Dist::Zilla version 5.047, CPAN::Meta::Converter version 2.150005'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -14,10 +14,10 @@
name: boolean
no_index:
directory:
+ - example
- inc
- t
- xt
- - example
recommends:
JSON::MaybeXS: '0'
requires:
@@ -26,4 +26,4 @@
bugtracker: https://github.com/ingydotnet/boolean-pm/issues
homepage: https://github.com/ingydotnet/boolean-pm
repository: https://github.com/ingydotnet/boolean-pm.git
-version: '0.45'
+version: '0.46'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/Makefile.PL new/boolean-0.46/Makefile.PL
--- old/boolean-0.45/Makefile.PL 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/Makefile.PL 2016-07-08 19:14:36.000000000 +0200
@@ -1,5 +1,4 @@
-
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.029.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.047.
use strict;
use warnings;
@@ -7,8 +6,6 @@
use ExtUtils::MakeMaker;
-
-
my %WriteMakefileArgs = (
"ABSTRACT" => "Boolean support for Perl",
"AUTHOR" => "Ingy d\x{f6}t Net ",
@@ -16,21 +13,18 @@
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "boolean",
- "EXE_FILES" => [],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.008001",
"NAME" => "boolean",
"PREREQ_PM" => {},
- "VERSION" => "0.45",
+ "VERSION" => "0.46",
"test" => {
"TESTS" => "t/*.t"
}
);
-my %FallbackPrereqs = (
- "ExtUtils::MakeMaker" => 0
-);
+my %FallbackPrereqs = ();
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
@@ -43,6 +37,3 @@
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
-
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/README new/boolean-0.46/README
--- old/boolean-0.45/README 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/README 2016-07-08 19:14:36.000000000 +0200
@@ -4,7 +4,7 @@
VERSION
- This document describes boolean version 0.45. ";
+ This document describes boolean version 0.46.
SYNOPSIS
@@ -138,7 +138,7 @@
COPYRIGHT AND LICENSE
- Copyright 2007-2015. Ingy döt Net.
+ Copyright 2007-2016. Ingy döt Net.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/lib/boolean.pm new/boolean-0.46/lib/boolean.pm
--- old/boolean-0.45/lib/boolean.pm 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/lib/boolean.pm 2016-07-08 19:14:36.000000000 +0200
@@ -1,6 +1,6 @@
use strict; use warnings;
package boolean;
-our $VERSION = '0.45';
+our $VERSION = '0.46';
my ($true, $false);
@@ -35,6 +35,13 @@
$true_val = overload::StrVal($true);
$false_val = overload::StrVal($false);
$bool_vals = {$true_val => 1, $false_val => 1};
+}
+
+# refaddrs change on thread spawn, so CLONE fixes them up
+sub CLONE {
+ $true_val = overload::StrVal($true);
+ $false_val = overload::StrVal($false);
+ $bool_vals = {$true_val => 1, $false_val => 1};
}
sub true() { $true }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/lib/boolean.pod new/boolean-0.46/lib/boolean.pod
--- old/boolean-0.45/lib/boolean.pod 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/lib/boolean.pod 2016-07-08 19:14:36.000000000 +0200
@@ -1,7 +1,7 @@
=pod
=for comment
-DO NOT EDIT. This Pod was generated by Swim v0.1.38.
+DO NOT EDIT. This Pod was generated by Swim v0.1.43.
See http://github.com/ingydotnet/swim-pm#readme
=encoding utf8
@@ -15,8 +15,7 @@
=head1 VERSION
-This document describes L<boolean> version B<0.45>.
-";
+This document describes L<boolean> version B<0.46>.
=head1 SYNOPSIS
@@ -160,7 +159,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright 2007-2015. Ingy döt Net.
+Copyright 2007-2016. Ingy döt Net.
This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/t/author-pod-syntax.t new/boolean-0.46/t/author-pod-syntax.t
--- old/boolean-0.45/t/author-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100
+++ new/boolean-0.46/t/author-pod-syntax.t 2016-07-08 19:14:36.000000000 +0200
@@ -0,0 +1,15 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{AUTHOR_TESTING}) {
+ require Test::More;
+ Test::More::plan(skip_all => 'these tests are for testing by the author');
+ }
+}
+
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
+use strict; use warnings;
+use Test::More;
+use Test::Pod 1.41;
+
+all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/t/release-pod-syntax.t new/boolean-0.46/t/release-pod-syntax.t
--- old/boolean-0.45/t/release-pod-syntax.t 2015-02-06 00:39:33.000000000 +0100
+++ new/boolean-0.46/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
-
-# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
-use Test::More;
-use Test::Pod 1.41;
-
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/boolean-0.45/t/threads.t new/boolean-0.46/t/threads.t
--- old/boolean-0.45/t/threads.t 1970-01-01 01:00:00.000000000 +0100
+++ new/boolean-0.46/t/threads.t 2016-07-08 19:14:36.000000000 +0200
@@ -0,0 +1,30 @@
+use Test::More;
+use strict;
+use lib 'lib';
+
+use Config;
+BEGIN { plan skip_all => "requires threads" unless $Config{usethreads} };
+
+use threads;
+
+plan tests => 8;
+
+use boolean ':all';
+
+my $true = true;
+my $false = false;
+
+sub ok_from_thread($) {
+ local $Test::Builder = $Test::Builder::Level + 1;
+ my $code = shift;
+ ok( threads->create(eval "sub { $code }")->join(), $code );
+};
+
+ok_from_thread "isTrue(true)";
+ok_from_thread "isFalse(false)";
+ok_from_thread "isBoolean(true)";
+ok_from_thread "isBoolean(false)";
+ok_from_thread "isTrue(\$true)";
+ok_from_thread "isFalse(\$false)";
+ok_from_thread "isBoolean(\$true)";
+ok_from_thread "isBoolean(\$false)";
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module