Hello community,
here is the log from the commit of package perl-Apache-Session for
openSUSE:Factory checked in at 2020-09-23 18:46:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Apache-Session (Old)
and /work/SRC/openSUSE:Factory/.perl-Apache-Session.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Apache-Session"
Wed Sep 23 18:46:24 2020 rev:29 rq:836275 version:1.94
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Apache-Session/perl-Apache-Session.changes
2015-04-15 16:24:22.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Apache-Session.new.4249/perl-Apache-Session.changes
2020-09-23 18:48:06.561746840 +0200
@@ -1,0 +2,6 @@
+Sat Sep 19 03:07:00 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 1.94
+ see /usr/share/doc/packages/perl-Apache-Session/CHANGES
+
+-------------------------------------------------------------------
Old:
----
Apache-Session-1.93.tar.gz
New:
----
Apache-Session-1.94.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Apache-Session.spec ++++++
--- /var/tmp/diff_new_pack.sjozWq/_old 2020-09-23 18:48:07.321747539 +0200
+++ /var/tmp/diff_new_pack.sjozWq/_new 2020-09-23 18:48:07.325747544 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Apache-Session
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Apache-Session
-Version: 1.93
+Version: 1.94
Release: 0
%define cpan_name Apache-Session
-Summary: A persistence framework for session data
-License: Artistic-1.0 or GPL-1.0+
+Summary: Persistence framework for session data
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Apache-Session/
-Source:
http://www.cpan.org/authors/id/C/CH/CHORNY/%{cpan_name}-%{version}.tar.gz
+URL: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/C/CH/CHORNY/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Deep) >= 0.082
-BuildRequires: perl(Test::Exception) >= 0.15
+BuildRequires: perl(Test::Exception) >= 0.150000
%{perl_requires}
%description
@@ -61,7 +62,7 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
@@ -73,6 +74,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc b CHANGES Contributing.txt eg README TODO
+%doc CHANGES Contributing.txt README TODO
%changelog
++++++ Apache-Session-1.93.tar.gz -> Apache-Session-1.94.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/Build.PL
new/Apache-Session-1.94/Build.PL
--- old/Apache-Session-1.93/Build.PL 2014-01-07 00:34:54.000000000 +0100
+++ new/Apache-Session-1.94/Build.PL 2020-09-18 01:46:07.000000000 +0200
@@ -2,25 +2,6 @@
use Module::Build;
#created by eumm-migrate.pl
-print << 'EOT';
-
-*** REQUEST ***
-Please use Test::Reporter to report test results - it's the only way to measure
-popularity of distribution.
-
-Or you can add it to stack (means that you use it) on Ohloh:
https://www.ohloh.net/p/Apache-Session
-
-EOT
-
-if ($]<5.006) {
- print << 'EOT1';
-If you really use perl older than 5.6 - write to alexchorny[AT]gmail.com
-and tell me what version do you use, and why.
-EOT1
- Module::Build->prompt('continue','y');
-}
-
-
my $build = Module::Build->new(
'dist_abstract' => 'A persistence framework for session data',
'license' => 'perl',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/CHANGES
new/Apache-Session-1.94/CHANGES
--- old/Apache-Session-1.93/CHANGES 2014-04-12 21:32:48.000000000 +0200
+++ new/Apache-Session-1.94/CHANGES 2020-09-18 23:55:41.000000000 +0200
@@ -3,6 +3,9 @@
and tell me what version do you use, why and will you need newer versions
of Apache::Session.
+1.94 2020-09-19
+ - better error if LockDataSource is missing in Apache::Session::Lock::MySQL
+
1.93 2014-04-12
- even more test fixes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/META.json
new/Apache-Session-1.94/META.json
--- old/Apache-Session-1.93/META.json 2014-04-12 21:34:08.000000000 +0200
+++ new/Apache-Session-1.94/META.json 2020-09-18 23:58:18.000000000 +0200
@@ -4,7 +4,7 @@
"Casey West <casey[at]geeknest.com>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4007, CPAN::Meta::Converter
version 2.131490",
+ "generated_by" : "Module::Build version 0.4211",
"keywords" : [
"CGI",
"session",
@@ -40,7 +40,7 @@
"provides" : {
"Apache::Session" : {
"file" : "lib/Apache/Session.pm",
- "version" : "1.93"
+ "version" : "1.94"
},
"Apache::Session::DB_File" : {
"file" : "lib/Apache/Session/DB_File.pm",
@@ -168,5 +168,6 @@
"url" : "http://github.com/chorny/Apache-Session"
}
},
- "version" : "1.93"
+ "version" : "1.94",
+ "x_serialization_backend" : "JSON version 2.90"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/META.yml
new/Apache-Session-1.94/META.yml
--- old/Apache-Session-1.93/META.yml 2014-04-12 21:34:08.000000000 +0200
+++ new/Apache-Session-1.94/META.yml 2020-09-18 23:58:18.000000000 +0200
@@ -7,7 +7,7 @@
Test::Exception: 0.15
Test::More: 0.47
dynamic_config: 1
-generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version
2.131490'
+generated_by: 'Module::Build version 0.4211, CPAN::Meta::Converter version
2.150005'
keywords:
- CGI
- session
@@ -20,7 +20,7 @@
provides:
Apache::Session:
file: lib/Apache/Session.pm
- version: 1.93
+ version: 1.94
Apache::Session::DB_File:
file: lib/Apache/Session/DB_File.pm
version: 1.01
@@ -118,4 +118,5 @@
resources:
license: http://dev.perl.org/licenses/
repository: http://github.com/chorny/Apache-Session
-version: 1.93
+version: 1.94
+x_serialization_backend: YAML version 1.23
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/Makefile.PL
new/Apache-Session-1.94/Makefile.PL
--- old/Apache-Session-1.93/Makefile.PL 2010-09-22 00:42:53.000000000 +0200
+++ new/Apache-Session-1.94/Makefile.PL 2020-09-18 01:46:14.000000000 +0200
@@ -5,22 +5,6 @@
use ExtUtils::MakeMaker;
-print << 'EOT';
-
-*** REQUEST ***
-Please use Test::Reporter to report test results - it's the only way to measure
-popularity of distribution.
-
-EOT
-
-if ($]<5.006) {
- print << 'EOT1';
-If you really use perl older than 5.6 - write to alexchorny[AT]gmail.com
-and tell me what version do you use, and why.
-EOT1
- prompt('continue','y');
-}
-
WriteMakefile1(
NAME => "Apache::Session",
VERSION_FROM => "lib/Apache/Session.pm",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/lib/Apache/Session/Informix.pm
new/Apache-Session-1.94/lib/Apache/Session/Informix.pm
--- old/Apache-Session-1.93/lib/Apache/Session/Informix.pm 2009-09-15
23:08:50.000000000 +0200
+++ new/Apache-Session-1.94/lib/Apache/Session/Informix.pm 2015-04-12
13:30:32.000000000 +0200
@@ -24,8 +24,8 @@
sub populate {
my $self = shift;
- $self->{object_store} = new Apache::Session::Store::Informix $self;
- $self->{lock_manager} = new Apache::Session::Lock::Null $self;
+ $self->{object_store} = Apache::Session::Store::Informix->new($self);
+ $self->{lock_manager} = Apache::Session::Lock::Null->new($self);
$self->{generate} = \&Apache::Session::Generate::MD5::generate;
$self->{validate} = \&Apache::Session::Generate::MD5::validate;
$self->{serialize} = \&Apache::Session::Serialize::Base64::serialize;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/lib/Apache/Session/Lock/File.pm
new/Apache-Session-1.94/lib/Apache/Session/Lock/File.pm
--- old/Apache-Session-1.93/lib/Apache/Session/Lock/File.pm 2009-09-15
23:08:50.000000000 +0200
+++ new/Apache-Session-1.94/lib/Apache/Session/Lock/File.pm 2015-01-16
23:39:13.000000000 +0100
@@ -178,7 +178,7 @@
use Apache::Session::Lock::File;
- my $locker = new Apache::Session::Lock::File;
+ my $locker = Apache::Session::Lock::File->new;
$locker->acquire_read_lock($ref);
$locker->acquire_write_lock($ref);
@@ -218,7 +218,7 @@
method of this module to remove files unmodified in the last $age seconds.
Example:
- my $l = new Apache::Session::Lock::File;
+ my $l = Apache::Session::Lock::File->new;
$l->clean('/var/lock/sessions', 3600) #remove files older than 1 hour
=head2 acquire_read_lock
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/lib/Apache/Session/Lock/MySQL.pm
new/Apache-Session-1.94/lib/Apache/Session/Lock/MySQL.pm
--- old/Apache-Session-1.93/lib/Apache/Session/Lock/MySQL.pm 2009-09-15
23:08:50.000000000 +0200
+++ new/Apache-Session-1.94/lib/Apache/Session/Lock/MySQL.pm 2020-09-18
23:50:53.000000000 +0200
@@ -33,6 +33,9 @@
$self->{dbh} = $session->{args}->{LockHandle};
}
else {
+ if (!$session->{args}->{LockDataSource}) {
+ die "LockDataSource not provided for
Apache::Session::Lock::MySQL";
+ }
$self->{dbh} = DBI->connect(
$session->{args}->{LockDataSource},
$session->{args}->{LockUserName},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/lib/Apache/Session/Lock/Null.pm
new/Apache-Session-1.94/lib/Apache/Session/Lock/Null.pm
--- old/Apache-Session-1.93/lib/Apache/Session/Lock/Null.pm 2009-09-15
23:08:50.000000000 +0200
+++ new/Apache-Session-1.94/lib/Apache/Session/Lock/Null.pm 2015-01-16
23:39:54.000000000 +0100
@@ -43,7 +43,7 @@
use Apache::Session::Lock::Null;
- my $locker = new Apache::Session::Lock::Null;
+ my $locker = Apache::Session::Lock::Null->new;
$locker->acquire_read_lock($ref);
$locker->acquire_write_lock($ref);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Apache-Session-1.93/lib/Apache/Session/Lock/Semaphore.pm
new/Apache-Session-1.94/lib/Apache/Session/Lock/Semaphore.pm
--- old/Apache-Session-1.93/lib/Apache/Session/Lock/Semaphore.pm
2009-09-15 23:08:50.000000000 +0200
+++ new/Apache-Session-1.94/lib/Apache/Session/Lock/Semaphore.pm
2015-01-16 23:40:06.000000000 +0100
@@ -197,7 +197,7 @@
use Apache::Session::Lock::Semaphore;
- my $locker = new Apache::Session::Lock::Semaphore;
+ my $locker = Apache::Session::Lock::Semaphore->new;
die "no semaphores" unless $locker;
$locker->acquire_read_lock($ref);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Apache-Session-1.93/lib/Apache/Session/Lock/Sybase.pm
new/Apache-Session-1.94/lib/Apache/Session/Lock/Sybase.pm
--- old/Apache-Session-1.93/lib/Apache/Session/Lock/Sybase.pm 2009-09-15
23:08:50.000000000 +0200
+++ new/Apache-Session-1.94/lib/Apache/Session/Lock/Sybase.pm 2015-01-16
23:54:36.000000000 +0100
@@ -100,7 +100,7 @@
use Apache::Session::Lock::Sybase;
- my $locker = new Apache::Session::Lock::Sybase;
+ my $locker = Apache::Session::Lock::Sybase->new;
$locker->acquire_read_lock($ref);
$locker->acquire_write_lock($ref);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Apache-Session-1.93/lib/Apache/Session/MySQL/NoLock.pm
new/Apache-Session-1.94/lib/Apache/Session/MySQL/NoLock.pm
--- old/Apache-Session-1.93/lib/Apache/Session/MySQL/NoLock.pm 2012-12-24
23:22:03.000000000 +0100
+++ new/Apache-Session-1.94/lib/Apache/Session/MySQL/NoLock.pm 2017-03-20
20:39:16.000000000 +0100
@@ -24,8 +24,8 @@
sub populate {
my $self = shift;
- $self->{object_store} = new Apache::Session::Store::MySQL $self;
- $self->{lock_manager} = new Apache::Session::Lock::Null $self;
+ $self->{object_store} = Apache::Session::Store::MySQL->new($self);
+ $self->{lock_manager} = Apache::Session::Lock::Null->new($self);
$self->{generate} = \&Apache::Session::Generate::MD5::generate;
$self->{validate} = \&Apache::Session::Generate::MD5::validate;
$self->{serialize} = \&Apache::Session::Serialize::Storable::serialize;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/lib/Apache/Session/Store/File.pm
new/Apache-Session-1.94/lib/Apache/Session/Store/File.pm
--- old/Apache-Session-1.93/lib/Apache/Session/Store/File.pm 2010-09-22
00:44:14.000000000 +0200
+++ new/Apache-Session-1.94/lib/Apache/Session/Store/File.pm 2015-01-17
00:30:27.000000000 +0100
@@ -150,7 +150,7 @@
use Apache::Session::Store::File;
- my $store = new Apache::Session::Store::File;
+ my $store = Apache::Session::Store::File->new;
$store->insert($ref);
$store->update($ref);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/lib/Apache/Session.pm
new/Apache-Session-1.94/lib/Apache/Session.pm
--- old/Apache-Session-1.93/lib/Apache/Session.pm 2014-04-12
21:33:21.000000000 +0200
+++ new/Apache-Session-1.94/lib/Apache/Session.pm 2020-09-18
23:56:08.000000000 +0200
@@ -325,7 +325,7 @@
use strict;
use vars qw($VERSION);
-$VERSION = '1.93';
+$VERSION = '1.94';
$VERSION = eval $VERSION;
#State constants
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Apache-Session-1.93/t/99dbfile.t
new/Apache-Session-1.94/t/99dbfile.t
--- old/Apache-Session-1.93/t/99dbfile.t 2009-09-15 23:08:50.000000000
+0200
+++ new/Apache-Session-1.94/t/99dbfile.t 2020-09-17 22:28:11.000000000
+0200
@@ -12,6 +12,8 @@
plan tests => 8;
+diag "DB_File version ".DB_File->VERSION();
+
use_ok $package;
my $origdir = getcwd;
++++++ 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