Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Mojolicious-Plugin-Webpack for 
openSUSE:Factory checked in at 2025-10-01 18:58:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-Webpack (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-Webpack.new.11973 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Mojolicious-Plugin-Webpack"

Wed Oct  1 18:58:13 2025 rev:5 rq:1308408 version:1.02

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Mojolicious-Plugin-Webpack/perl-Mojolicious-Plugin-Webpack.changes
  2022-08-16 17:08:34.824028223 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Mojolicious-Plugin-Webpack.new.11973/perl-Mojolicious-Plugin-Webpack.changes
       2025-10-01 19:00:10.998511355 +0200
@@ -1,0 +2,6 @@
+Tue Sep 30 20:24:13 UTC 2025 - Oliver Kurz <[email protected]>
+
+- Add 0001-Replace-deprecated-Mojo-File-spew-with-spurt.patch. See
+  https://github.com/jhthorsen/mojolicious-plugin-webpack/pull/17
+
+-------------------------------------------------------------------

New:
----
  0001-Replace-deprecated-Mojo-File-spew-with-spurt.patch
  README.md
  _scmsync.obsinfo
  build.specials.obscpio

----------(New B)----------
  New:
- Add 0001-Replace-deprecated-Mojo-File-spew-with-spurt.patch. See
  https://github.com/jhthorsen/mojolicious-plugin-webpack/pull/17
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Mojolicious-Plugin-Webpack.spec ++++++
--- /var/tmp/diff_new_pack.pKzv6I/_old  2025-10-01 19:00:11.718541508 +0200
+++ /var/tmp/diff_new_pack.pKzv6I/_new  2025-10-01 19:00:11.722541675 +0200
@@ -25,6 +25,9 @@
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
+Source100:      README.md
+# PATCH-FIX-UPSTREAM 
https://github.com/jhthorsen/mojolicious-plugin-webpack/pull/17
+Patch0:         0001-Replace-deprecated-Mojo-File-spew-with-spurt.patch
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -50,7 +53,7 @@
 * 2.
 
 %prep
-%autosetup  -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version} -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor

++++++ 0001-Replace-deprecated-Mojo-File-spew-with-spurt.patch ++++++
>From 399fb9eaffd42972837ab0c1359171578199fc30 Mon Sep 17 00:00:00 2001
From: Oliver Kurz <[email protected]>
Date: Thu, 3 Jul 2025 20:46:40 +0200
Subject: [PATCH] Replace deprecated 'Mojo::File::spew' with 'spurt'

This fixes issues like observed in
https://github.com/openSUSE/qem-dashboard/actions/runs/16056912984/job/45313482646?pr=2666#step:11:13

```
Error: Mojo::File::spurt is deprecated in favor of Mojo::File::spew at 
/opt/hostedtoolcache/perl/5.40.2/x64/lib/site_perl/5.40.2/Mojo/Alien/webpack.pm 
line 187.
```

same as local test errors using a current Mojolicious distribution like

```
t/plugin-built.t ............. Mojo::File::spurt is deprecated in favor of 
Mojo::File::spew at t/plugin-built.t line 24.
Mojo::File::spurt is deprecated in favor of Mojo::File::spew at 
t/plugin-built.t line 32.
```
---
 lib/Mojo/Alien/webpack.pm | 2 +-
 t/alien-rollup-api.t      | 2 +-
 t/alien-rollup-files.t    | 2 +-
 t/alien-webpack-css.t     | 4 ++--
 t/alien-webpack-files.t   | 2 +-
 t/alien-webpack-js.t      | 2 +-
 t/plugin-build.t          | 2 +-
 t/plugin-built.t          | 4 ++--
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/lib/Mojo/Alien/webpack.pm b/lib/Mojo/Alien/webpack.pm
index a1d156b..82ad7eb 100644
--- a/lib/Mojo/Alien/webpack.pm
+++ b/lib/Mojo/Alien/webpack.pm
@@ -184,7 +184,7 @@ sub _render_file {
   $self->_d('Render %s to %s', $name, $file) if DEBUG;
   $file->dirname->make_path unless -d $file->dirname;
   $content //= $self->_resources->{$name};
-  $file->spurt(sprintf "// Autogenerated by %s %s\n%s", ref($self), $VERSION, 
$content);
+  $file->spew(sprintf "// Autogenerated by %s %s\n%s", ref($self), $VERSION, 
$content);
   return $self;
 }
 
diff --git a/t/alien-rollup-api.t b/t/alien-rollup-api.t
index 6243d5b..52d5271 100644
--- a/t/alien-rollup-api.t
+++ b/t/alien-rollup-api.t
@@ -24,7 +24,7 @@ subtest 'basic' => sub {
 subtest 'build' => sub {
   my $rollup = Mojo::Alien::rollup->new;
 
-  
$rollup->config->dirname->child(qw(assets))->make_path->child('index.js')->spurt("console.log(42);\n");
+  
$rollup->config->dirname->child(qw(assets))->make_path->child('index.js')->spew("console.log(42);\n");
   is $rollup->build, $rollup, 'build';
 
   local $rollup->{binary} = '/no/such/bin/rollup';
diff --git a/t/alien-rollup-files.t b/t/alien-rollup-files.t
index 44a2ef5..e4ae09f 100644
--- a/t/alien-rollup-files.t
+++ b/t/alien-rollup-files.t
@@ -47,7 +47,7 @@ sub make_project_files {
   for my $name (keys %$data) {
     my $file = $rollup->assets_dir->child(split '/', $name);
     $file->dirname->make_path;
-    $file->spurt($data->{$name});
+    $file->spew($data->{$name});
   }
 
   return $data;
diff --git a/t/alien-webpack-css.t b/t/alien-webpack-css.t
index 0182954..bf0bb0e 100644
--- a/t/alien-webpack-css.t
+++ b/t/alien-webpack-css.t
@@ -9,8 +9,8 @@ note sprintf 'work_dir=%s', 
Mojo::Alien::npm->_setup_working_directory;
 my $webpack = Mojo::Alien::webpack->new->include(['css']);
 $webpack->assets_dir->make_path;
 
-my $index_css = $webpack->assets_dir->child('index.css')->spurt(qq[body { 
background: #fefefe; }\n]);
-my $index_js  = 
$webpack->assets_dir->child('index.js')->spurt(qq[require('./index.css');]);
+my $index_css = $webpack->assets_dir->child('index.css')->spew(qq[body { 
background: #fefefe; }\n]);
+my $index_js  = 
$webpack->assets_dir->child('index.js')->spew(qq[require('./index.css');]);
 my $dist_file = $webpack->config->dirname->child('dist', 
'alien-webpack-css-t.development.css');
 
 is $webpack->build, $webpack, 'build css';
diff --git a/t/alien-webpack-files.t b/t/alien-webpack-files.t
index 6df86db..501db98 100644
--- a/t/alien-webpack-files.t
+++ b/t/alien-webpack-files.t
@@ -46,7 +46,7 @@ sub make_project_files {
   for my $name (keys %$data) {
     my $file = $webpack->assets_dir->child(split '/', $name);
     $file->dirname->make_path;
-    $file->spurt($data->{$name});
+    $file->spew($data->{$name});
   }
 
   return $data;
diff --git a/t/alien-webpack-js.t b/t/alien-webpack-js.t
index 3846d2b..3bf6145 100644
--- a/t/alien-webpack-js.t
+++ b/t/alien-webpack-js.t
@@ -7,7 +7,7 @@ plan skip_all => 'TEST_JS=1' unless $ENV{TEST_JS} or 
$ENV{TEST_ALL};
 note sprintf 'work_dir=%s', Mojo::Alien::npm->_setup_working_directory;
 
 my $webpack   = Mojo::Alien::webpack->new->include(['js']);
-my $index_js  = 
$webpack->assets_dir->make_path->child('index.js')->spurt(qq[console.log('built 
$^T');]);
+my $index_js  = 
$webpack->assets_dir->make_path->child('index.js')->spew(qq[console.log('built 
$^T');]);
 my $dist_file = $webpack->config->dirname->child('dist', 
'alien-webpack-js-t.development.js');
 
 is $webpack->build, $webpack, 'build js';
diff --git a/t/plugin-build.t b/t/plugin-build.t
index 3df0220..716f197 100644
--- a/t/plugin-build.t
+++ b/t/plugin-build.t
@@ -28,7 +28,7 @@ 
$t->get_ok('/asset/plugin-build-t.development.js')->status_is(200)->header_is('C
 done_testing;
 
 sub make_project_files {
-  
app->home->rel_file('assets')->make_path->child('index.js')->spurt('console.log(42);');
+  
app->home->rel_file('assets')->make_path->child('index.js')->spew('console.log(42);');
 }
 
 __DATA__
diff --git a/t/plugin-built.t b/t/plugin-built.t
index 384c508..a74c6d3 100644
--- a/t/plugin-built.t
+++ b/t/plugin-built.t
@@ -21,7 +21,7 @@ done_testing;
 
 sub make_project_files {
   my $assets = app->home->rel_file('assets');
-  
$assets->child('webpack.config.d')->make_path->child('custom.js')->spurt(<<'HERE');
+  
$assets->child('webpack.config.d')->make_path->child('custom.js')->spew(<<'HERE');
 module.exports = function(config) {
   config.entry = {
     'cool': './assets/cool-beans.js',
@@ -29,7 +29,7 @@ module.exports = function(config) {
 };
 HERE
 
-  $assets->child('cool-beans.js')->spurt('console.log(42);');
+  $assets->child('cool-beans.js')->spew('console.log(42);');
 }
 
 __DATA__
-- 
2.51.0


++++++ README.md ++++++

## Build Results

Current state of perl in openSUSE:Factory is

![Factory build 
results](https://br.opensuse.org/status/openSUSE:Factory/perl-Mojolicious-Plugin-Webpack/standard)

The current state of perl in the devel project build (devel:languages:perl)

![Devel project build 
results](https://br.opensuse.org/status/devel:languages:perl/perl-Mojolicious-Plugin-Webpack)



++++++ _scmsync.obsinfo ++++++
mtime: 1759264467
commit: e705781dcf203cc25a4ce9570e9e90c6fd7c54e166e298af39a21bfcb6243e57
url: https://src.opensuse.org/perl/perl-Mojolicious-Plugin-Webpack.git
revision: e705781dcf203cc25a4ce9570e9e90c6fd7c54e166e298af39a21bfcb6243e57
projectscmsync: https://src.opensuse.org/perl/_ObsPrj

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2025-10-01 14:36:39.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.pKzv6I/_old  2025-10-01 19:00:11.954551391 +0200
+++ /var/tmp/diff_new_pack.pKzv6I/_new  2025-10-01 19:00:11.958551558 +0200
@@ -7,9 +7,8 @@
 #sources:
 #  - source1
 #  - source2
-#patches:
-#  foo.patch: -p1
-#  bar.patch:
+patches:
+  0001-Replace-deprecated-Mojo-File-spew-with-spurt.patch: -p1 
PATCH-FIX-UPSTREAM 
https://github.com/jhthorsen/mojolicious-plugin-webpack/pull/17
 #preamble: |-
 # BuildRequires:  gcc-c++
 #post_prep: |-

Reply via email to