]> git.pld-linux.org Git - packages/perl-DBM-Deep.git/commitdiff
- updated to 2.0017 master auto/th/perl-DBM-Deep-2.0017-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 6 Sep 2023 19:23:36 +0000 (21:23 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 6 Sep 2023 19:23:36 +0000 (21:23 +0200)
perl-DBM-Deep.spec
perl5.38.patch [deleted file]

index d9c7caa30d5fb583238e8b3c3401b84a50645670..fff0b8dd42f703ac37f45ea147e624753be1b9aa 100644 (file)
@@ -1,21 +1,20 @@
 #
 # Conditional build:
-%bcond_without tests   # do not perform "make test"
+%bcond_without tests   # unit tests
 
 %define                pdir    DBM
 %define                pnam    Deep
 Summary:       DBM::Deep - A pure Perl multi-level hash/array DBM
 Summary(pl.UTF-8):     DBM::Deep - czysto perlowy moduĊ‚ DBM dla wielopoziomowych haszy/tablic
 Name:          perl-DBM-Deep
-Version:       2.0016
-Release:       2
+Version:       2.0017
+Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/DBM/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: cb8817ddd1fecc81ae2d47f812fd1f0e
-Patch0:                perl5.38.patch
-URL:           https://metacpan.org/release/DBM-Deep
+Source0:       https://www.cpan.org/modules/by-module/DBM/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 92e950e8b99ee0c0d9a7fdefb36dc7d1
+URL:           https://metacpan.org/dist/DBM-Deep
 BuildRequires: perl-Module-Build >= 0.28
 BuildRequires: perl-devel >= 1:5.8.4
 BuildRequires: rpm-perlprov >= 4.1-13
@@ -55,7 +54,6 @@ kompatybilny z Uniksami, Mac OS X oraz Windows.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/perl5.38.patch b/perl5.38.patch
deleted file mode 100644 (file)
index 2c80e06..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From f6d5f18703a39be52ee04df5234f6ebd7ba1b9b7 Mon Sep 17 00:00:00 2001
-From: Yves Orton <demerphq@gmail.com>
-Date: Thu, 9 Feb 2023 17:02:35 +0100
-Subject: [PATCH] lib/DBM/Deep.pm - apostrophe as package separator deprecated
- in 5.37.8
-
-In 5.40.0 we will remove support for apostrophe as a package separator
-entirely, and in 5.37.8 we marked it as deprecated so it will warn.
-
-This patch removes its use from lib/DBM/Deep.pm and bumps the version
-to 2.0017
----
- lib/DBM/Deep.pm  | 10 +++++-----
- lib/DBM/Deep.pod |  2 +-
- 2 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/lib/DBM/Deep.pm b/lib/DBM/Deep.pm
-index 8a8ead7..61ff547 100644
---- a/lib/DBM/Deep.pm
-+++ b/lib/DBM/Deep.pm
-@@ -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;
-    }
-   }
This page took 0.218307 seconds and 4 git commands to generate.