Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-DBM-Deep for openSUSE:Factory 
checked in at 2023-08-09 17:26:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DBM-Deep (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DBM-Deep.new.11712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DBM-Deep"

Wed Aug  9 17:26:34 2023 rev:20 rq:1103146 version:2.0016

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DBM-Deep/perl-DBM-Deep.changes      
2018-05-29 16:50:40.171362437 +0200
+++ /work/SRC/openSUSE:Factory/.perl-DBM-Deep.new.11712/perl-DBM-Deep.changes   
2023-08-09 17:26:47.057952188 +0200
@@ -1,0 +2,6 @@
+Wed Aug  9 10:39:24 UTC 2023 - Tina Müller <tina.muel...@suse.com>
+
+- Add package-separator-perl5.38.patch, see
+  https://rt.cpan.org/Public/Bug/Display.html?id=148417
+
+-------------------------------------------------------------------

New:
----
  package-separator-perl5.38.patch

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

Other differences:
------------------
++++++ perl-DBM-Deep.spec ++++++
--- /var/tmp/diff_new_pack.nLAdxu/_old  2023-08-09 17:26:47.637955799 +0200
+++ /var/tmp/diff_new_pack.nLAdxu/_new  2023-08-09 17:26:47.641955823 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-DBM-Deep
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +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/
 #
 
 
+%define cpan_name DBM-Deep
 Name:           perl-DBM-Deep
 Version:        2.0016
 Release:        0
-%define cpan_name DBM-Deep
-Summary:        Pure Perl Multi-Level Hash/Array Dbm That Supports Transactions
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/DBM-Deep/
+Summary:        Pure perl multi-level hash/array DBM that supports transactions
+URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/S/SP/SPROUT/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
+# PATCH-FIX-UPSTREAM deprecated package separator 
https://rt.cpan.org/Public/Bug/Display.html?id=148417
+Patch0:         package-separator-perl5.38.patch
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Module::Build) >= 0.420000
+BuildRequires:  perl(Module::Build) >= 0.42
 BuildRequires:  perl(Test::Deep) >= 0.095
-BuildRequires:  perl(Test::Exception) >= 0.210000
+BuildRequires:  perl(Test::Exception) >= 0.21
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::Warn) >= 0.08
 %{perl_requires}
@@ -47,21 +47,20 @@
 Windows.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version} -p1
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build build --flags=%{?_smp_mflags}
 
 %check
 ./Build test
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
+./Build install --destdir=%{buildroot} --create_packlist=0
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
-%doc Changes etc README utils
+%doc Changes README
 
 %changelog

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.nLAdxu/_old  2023-08-09 17:26:47.669955998 +0200
+++ /var/tmp/diff_new_pack.nLAdxu/_new  2023-08-09 17:26:47.673956023 +0200
@@ -1,17 +1,23 @@
 ---
 #description_paragraphs: 3
+#description: |-
+#  override description from CPAN
+#summary: override summary from CPAN
 #no_testing: broken upstream
 #sources:
 #  - source1
 #  - source2
-#patches:
+patches:
 #  foo.patch: -p1
 #  bar.patch:
+  package-separator-perl5.38.patch: -p1 PATCH-FIX-UPSTREAM deprecated package 
separator https://rt.cpan.org/Public/Bug/Display.html?id=148417
 #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
@@ -21,4 +27,10 @@
 #custom_test: |-
 #startserver && make test
 #ignore_requires: Bizarre::Module
+#skip_doc: regexp_to_skip_for_doc.*
+#add_doc: files to add to docs
+#misc: |-
+#anything else to be added to spec file
+#follows directly after %files section, so it can contain new blocks or also
+#changes to %files section
 

++++++ package-separator-perl5.38.patch ++++++
diff -up DBM-Deep-2.0016/lib/DBM/Deep.pm.orig DBM-Deep-2.0016/lib/DBM/Deep.pm
--- DBM-Deep-2.0016/lib/DBM/Deep.pm.orig        2023-05-23 16:29:27.958028154 
+0200
+++ DBM-Deep-2.0016/lib/DBM/Deep.pm     2023-05-23 16:29:52.558223448 +0200
@@ -647,13 +647,13 @@ sub _warnif {
    # to avoid this hack. warnings.pm did not allow us to specify
    # exactly the call frame we want, so we have to look at the bitmask
    # ourselves.
-   if(  vec $bitmask, $warnings'Offsets{$_[0]}, 1,
-     || vec $bitmask, $warnings'Offsets{all}, 1,
+   if(  vec $bitmask, $warnings::Offsets{$_[0]}, 1,
+     || vec $bitmask, $warnings::Offsets{all}, 1,
      ) {
       my $msg = $_[1] =~ /\n\z/ ? $_[1] : "$_[1] at $file line $line.\n";
       die $msg
-       if  vec $bitmask, $warnings'Offsets{$_[0]}+1, 1,
-        || vec $bitmask, $warnings'Offsets{all}+1, 1;
+       if  vec $bitmask, $warnings::Offsets{$_[0]}+1, 1,
+        || vec $bitmask, $warnings::Offsets{all}+1, 1;
       warn $msg;
    }
   }

Reply via email to