Hello community,
here is the log from the commit of package perl-Mojo-IOLoop-ReadWriteProcess
for openSUSE:Leap:15.2 checked in at 2020-03-15 07:13:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/perl-Mojo-IOLoop-ReadWriteProcess (Old)
and
/work/SRC/openSUSE:Leap:15.2/.perl-Mojo-IOLoop-ReadWriteProcess.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Mojo-IOLoop-ReadWriteProcess"
Sun Mar 15 07:13:58 2020 rev:20 rq:785170 version:0.24
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/perl-Mojo-IOLoop-ReadWriteProcess/perl-Mojo-IOLoop-ReadWriteProcess.changes
2020-01-15 15:41:54.287202419 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.perl-Mojo-IOLoop-ReadWriteProcess.new.3160/perl-Mojo-IOLoop-ReadWriteProcess.changes
2020-03-15 07:15:00.913086651 +0100
@@ -1,0 +2,23 @@
+Fri Oct 18 08:59:00 UTC 2019 - <[email protected]>
+
+- Change the `find` call for modifying permissions to leave also shell scripts
+ and files in the t/ directory alone
+
+-------------------------------------------------------------------
+Wed Oct 16 10:12:14 UTC 2019 - <[email protected]>
+
+- updated to 0.24
+ see /usr/share/doc/packages/perl-Mojo-IOLoop-ReadWriteProcess/Changes
+
+ 0.24 2019-10-15T11:11:50Z
+
+ - Fix compatibility with Mojolicious 8.23 by kraih
+
+-------------------------------------------------------------------
+Fri Oct 11 09:57:33 UTC 2019 - Oliver Kurz <[email protected]>
+
+- Exclude non-working tests with perl-Mojolicious >= 8.23
+ See https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/issues/4
+ for details
+
+-------------------------------------------------------------------
Old:
----
Mojo-IOLoop-ReadWriteProcess-0.23.tar.gz
New:
----
Mojo-IOLoop-ReadWriteProcess-0.24.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Mojo-IOLoop-ReadWriteProcess.spec ++++++
--- /var/tmp/diff_new_pack.9IYwtD/_old 2020-03-15 07:15:02.017087229 +0100
+++ /var/tmp/diff_new_pack.9IYwtD/_new 2020-03-15 07:15:02.033087238 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Mojo-IOLoop-ReadWriteProcess
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,27 +12,29 @@
# 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-Mojo-IOLoop-ReadWriteProcess
-Version: 0.23
+Version: 0.24
Release: 0
%define cpan_name Mojo-IOLoop-ReadWriteProcess
Summary: Execute external programs or internal code blocks as separate
process
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Mojo-IOLoop-ReadWriteProcess/
+Url: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/M/MU/MUDLER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
+BuildRequires: perl(IPC::SharedMem)
BuildRequires: perl(Module::Build) >= 0.400500
BuildRequires: perl(Mojolicious) >= 7.24
BuildRequires: perl(Test::More) >= 0.98
+Requires: perl(IPC::SharedMem)
Requires: perl(Mojolicious) >= 7.24
%{perl_requires}
@@ -41,12 +43,16 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs
-0 chmod 644
%build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
+# https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/issues/4
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939460
+rm t/10_cgroupv?.t
./Build test
%install
@@ -55,7 +61,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes codecov.yml minil.toml README.md
+%doc Changes circle.yml codecov.yml minil.toml README.md
%license LICENSE
%changelog
++++++ Mojo-IOLoop-ReadWriteProcess-0.23.tar.gz ->
Mojo-IOLoop-ReadWriteProcess-0.24.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-IOLoop-ReadWriteProcess-0.23/Build.PL
new/Mojo-IOLoop-ReadWriteProcess-0.24/Build.PL
--- old/Mojo-IOLoop-ReadWriteProcess-0.23/Build.PL 2018-08-14
09:29:31.000000000 +0200
+++ new/Mojo-IOLoop-ReadWriteProcess-0.24/Build.PL 2019-10-15
13:15:23.000000000 +0200
@@ -45,7 +45,6 @@
allow_pureperl => 0,
script_files => [glob('script/*'), glob('bin/*')],
- c_source => [qw()],
PL_files => {},
test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt')
? 't/ xt/' : 't/',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-IOLoop-ReadWriteProcess-0.23/Changes
new/Mojo-IOLoop-ReadWriteProcess-0.24/Changes
--- old/Mojo-IOLoop-ReadWriteProcess-0.23/Changes 2018-08-14
09:29:31.000000000 +0200
+++ new/Mojo-IOLoop-ReadWriteProcess-0.24/Changes 2019-10-15
13:15:23.000000000 +0200
@@ -1,5 +1,9 @@
Revision history for Perl extension Mojo-IOLoop-ReadWriteProcess
+0.24 2019-10-15T11:11:50Z
+
+ - Fix compatibility with Mojolicious 8.23 by kraih
+
0.23 2018-08-14T07:25:56Z
- Add prctl syscall codes for ppc64le and aarch64
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-IOLoop-ReadWriteProcess-0.23/META.json
new/Mojo-IOLoop-ReadWriteProcess-0.24/META.json
--- old/Mojo-IOLoop-ReadWriteProcess-0.23/META.json 2018-08-14
09:29:31.000000000 +0200
+++ new/Mojo-IOLoop-ReadWriteProcess-0.24/META.json 2019-10-15
13:15:23.000000000 +0200
@@ -4,7 +4,7 @@
"Ettore Di Giacinto <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v3.0.13",
+ "generated_by" : "Minilla/v3.1.7",
"license" : [
"perl_5"
],
@@ -36,7 +36,7 @@
"requires" : {
"Test::CPAN::Meta" : "0",
"Test::MinimumVersion::Fast" : "0.04",
- "Test::PAUSE::Permissions" : "0.04",
+ "Test::PAUSE::Permissions" : "0.07",
"Test::Pod" : "1.41",
"Test::Spellunker" : "v0.2.7"
}
@@ -56,7 +56,7 @@
"provides" : {
"Mojo::IOLoop::ReadWriteProcess" : {
"file" : "lib/Mojo/IOLoop/ReadWriteProcess.pm",
- "version" : "0.23"
+ "version" : "0.24"
},
"Mojo::IOLoop::ReadWriteProcess::CGroup" : {
"file" : "lib/Mojo/IOLoop/ReadWriteProcess/CGroup.pm"
@@ -148,11 +148,14 @@
"web" : "https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess"
}
},
- "version" : "0.23",
+ "version" : "0.24",
"x_contributors" : [
+ "Clemens Famulla-Conrad <[email protected]>",
"Ettore Di Giacinto <[email protected]>",
"Ettore Di Giacinto <[email protected]>",
- "Mohammad S Anwar <[email protected]>"
+ "Mohammad S Anwar <[email protected]>",
+ "Sebastian Riedel <[email protected]>"
],
- "x_serialization_backend" : "JSON::PP version 2.27400_02"
+ "x_serialization_backend" : "JSON::PP version 2.97001",
+ "x_static_install" : 0
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-IOLoop-ReadWriteProcess-0.23/META.yml
new/Mojo-IOLoop-ReadWriteProcess-0.24/META.yml
--- old/Mojo-IOLoop-ReadWriteProcess-0.23/META.yml 2018-08-14
09:29:31.000000000 +0200
+++ new/Mojo-IOLoop-ReadWriteProcess-0.24/META.yml 2019-10-15
13:15:23.000000000 +0200
@@ -8,7 +8,7 @@
Module::Build: '0.4005'
perl: 5.008_001
dynamic_config: 0
-generated_by: 'Minilla/v3.0.13, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Minilla/v3.1.7, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,7 +27,7 @@
provides:
Mojo::IOLoop::ReadWriteProcess:
file: lib/Mojo/IOLoop/ReadWriteProcess.pm
- version: '0.23'
+ version: '0.24'
Mojo::IOLoop::ReadWriteProcess::CGroup:
file: lib/Mojo/IOLoop/ReadWriteProcess/CGroup.pm
Mojo::IOLoop::ReadWriteProcess::CGroup::v1:
@@ -87,9 +87,12 @@
bugtracker: https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/issues
homepage: https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess
repository: git://github.com/mudler/Mojo-IOLoop-ReadWriteProcess.git
-version: '0.23'
+version: '0.24'
x_contributors:
+ - 'Clemens Famulla-Conrad <[email protected]>'
- 'Ettore Di Giacinto <[email protected]>'
- 'Ettore Di Giacinto <[email protected]>'
- 'Mohammad S Anwar <[email protected]>'
+ - 'Sebastian Riedel <[email protected]>'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
+x_static_install: 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-IOLoop-ReadWriteProcess-0.23/README.md
new/Mojo-IOLoop-ReadWriteProcess-0.24/README.md
--- old/Mojo-IOLoop-ReadWriteProcess-0.23/README.md 2018-08-14
09:29:31.000000000 +0200
+++ new/Mojo-IOLoop-ReadWriteProcess-0.24/README.md 2019-10-15
13:15:23.000000000 +0200
@@ -167,7 +167,7 @@
## args
use Mojo::IOLoop::ReadWriteProcess;
- my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".shift() }, args => "User" );
+ my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".$_[1] }, args => "User" );
$process->start();
$process->on( stop => sub { print "Process: ".(+shift()->pid)." finished";
} );
$process->stop();
@@ -208,9 +208,9 @@
## subreaper
use Mojo::IOLoop::ReadWriteProcess;
- my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".shift() }, args => "User" );
+ my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".$_[1] }, args => "User" );
$process->subreaper(1)->start();
- $process->on( stop => sub { $_->disable_subreaper } );
+ $process->on( stop => sub { shift()->disable_subreaper } );
$process->stop();
# The process will print "Hello User"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Mojo-IOLoop-ReadWriteProcess-0.23/lib/Mojo/IOLoop/ReadWriteProcess/CGroup/v1.pm
new/Mojo-IOLoop-ReadWriteProcess-0.24/lib/Mojo/IOLoop/ReadWriteProcess/CGroup/v1.pm
---
old/Mojo-IOLoop-ReadWriteProcess-0.23/lib/Mojo/IOLoop/ReadWriteProcess/CGroup/v1.pm
2018-08-14 09:29:31.000000000 +0200
+++
new/Mojo-IOLoop-ReadWriteProcess-0.24/lib/Mojo/IOLoop/ReadWriteProcess/CGroup/v1.pm
2019-10-15 13:15:23.000000000 +0200
@@ -29,8 +29,8 @@
sub _cgroup {
path($_[0]->parent
?
- path($_[0]->_vfs, $_[0]->controller, $_[0]->name, $_[0]->parent)
- : path($_[0]->_vfs, $_[0]->controller, $_[0]->name));
+ path($_[0]->_vfs, $_[0]->controller // '', $_[0]->name // '',
$_[0]->parent)
+ : path($_[0]->_vfs, $_[0]->controller // '', $_[0]->name // ''));
}
sub child {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Mojo-IOLoop-ReadWriteProcess-0.23/lib/Mojo/IOLoop/ReadWriteProcess/CGroup.pm
new/Mojo-IOLoop-ReadWriteProcess-0.24/lib/Mojo/IOLoop/ReadWriteProcess/CGroup.pm
---
old/Mojo-IOLoop-ReadWriteProcess-0.23/lib/Mojo/IOLoop/ReadWriteProcess/CGroup.pm
2018-08-14 09:29:31.000000000 +0200
+++
new/Mojo-IOLoop-ReadWriteProcess-0.24/lib/Mojo/IOLoop/ReadWriteProcess/CGroup.pm
2019-10-15 13:15:23.000000000 +0200
@@ -33,8 +33,8 @@
sub _cgroup {
path($_[0]->parent ?
- path($_[0]->_vfs, $_[0]->name, $_[0]->parent)
- : path($_[0]->_vfs, $_[0]->name));
+ path($_[0]->_vfs, $_[0]->name // '', $_[0]->parent)
+ : path($_[0]->_vfs, $_[0]->name // ''));
}
sub create { $_[0]->_cgroup->make_path unless -d $_[0]->_cgroup; $_[0] }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Mojo-IOLoop-ReadWriteProcess-0.23/lib/Mojo/IOLoop/ReadWriteProcess/Session.pm
new/Mojo-IOLoop-ReadWriteProcess-0.24/lib/Mojo/IOLoop/ReadWriteProcess/Session.pm
---
old/Mojo-IOLoop-ReadWriteProcess-0.23/lib/Mojo/IOLoop/ReadWriteProcess/Session.pm
2018-08-14 09:29:31.000000000 +0200
+++
new/Mojo-IOLoop-ReadWriteProcess-0.24/lib/Mojo/IOLoop/ReadWriteProcess/Session.pm
2019-10-15 13:15:23.000000000 +0200
@@ -293,9 +293,9 @@
use Mojo::IOLoop::ReadWriteProcess::Session qw(session);
session->enable_subreaper;
- my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".shift() }, args => "User" );
+ my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".$_[1] }, args => "User" );
$process->start();
- $process->on( stop => sub { $_->disable_subreaper } );
+ $process->on( stop => sub { shift()->disable_subreaper } );
$process->stop();
# The process will print "Hello User"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Mojo-IOLoop-ReadWriteProcess-0.23/lib/Mojo/IOLoop/ReadWriteProcess.pm
new/Mojo-IOLoop-ReadWriteProcess-0.24/lib/Mojo/IOLoop/ReadWriteProcess.pm
--- old/Mojo-IOLoop-ReadWriteProcess-0.23/lib/Mojo/IOLoop/ReadWriteProcess.pm
2018-08-14 09:29:31.000000000 +0200
+++ new/Mojo-IOLoop-ReadWriteProcess-0.24/lib/Mojo/IOLoop/ReadWriteProcess.pm
2019-10-15 13:15:23.000000000 +0200
@@ -1,6 +1,6 @@
package Mojo::IOLoop::ReadWriteProcess;
-our $VERSION = '0.23';
+our $VERSION = '0.24';
use Mojo::Base 'Mojo::EventEmitter';
use Mojo::File 'path';
@@ -783,7 +783,7 @@
=head2 args
use Mojo::IOLoop::ReadWriteProcess;
- my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".shift() }, args => "User" );
+ my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".$_[1] }, args => "User" );
$process->start();
$process->on( stop => sub { print "Process: ".(+shift()->pid)." finished";
} );
$process->stop();
@@ -825,9 +825,9 @@
=head2 subreaper
use Mojo::IOLoop::ReadWriteProcess;
- my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".shift() }, args => "User" );
+ my $process = Mojo::IOLoop::ReadWriteProcess->new(code => sub { print
"Hello ".$_[1] }, args => "User" );
$process->subreaper(1)->start();
- $process->on( stop => sub { $_->disable_subreaper } );
+ $process->on( stop => sub { shift()->disable_subreaper } );
$process->stop();
# The process will print "Hello User"