Accepting request 1100922 from devel:languages:perl:autoupdate

- new version format, see https://github.com/openSUSE/cpanspec/issues/47
- updated to 0.59
   see /usr/share/doc/packages/perl-Data-DPath/Changes
  0.59      2023-07-24
    - don't use warnings.pm inside Safe container [GH #28, Graham Knop]
      (needed for Perl v5.39+)

OBS-URL: https://build.opensuse.org/request/show/1100922
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=11
This commit is contained in:
2023-07-28 07:28:57 +00:00
committed by Git OBS Bridge
parent 547404c308
commit 2f4af65e63
4 changed files with 31 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8900345747571330ea37654c6b44c1e8b85801bbdeb453cb6bf1d579bd95f8c2
size 288688

3
Data-DPath-0.59.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afef7ecc0033cc1187ff39d2fb3a41fb97ad44a2d70baf9781a284eb213f4eac
size 287021

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jul 25 03:06:48 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.59
see /usr/share/doc/packages/perl-Data-DPath/Changes
0.59 2023-07-24
- don't use warnings.pm inside Safe container [GH #28, Graham Knop]
(needed for Perl v5.39+)
-------------------------------------------------------------------
Thu Aug 29 05:10:50 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-DPath
#
# Copyright (c) 2019 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
@@ -16,18 +16,17 @@
#
Name: perl-Data-DPath
Version: 0.58
Release: 0
%define cpan_name Data-DPath
Summary: DPath is not XPath!
Name: perl-Data-DPath
Version: 0.590.0
Release: 0
%define cpan_version 0.59
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SC/SCHWIGON/%{cpan_name}-%{version}.tar.gz
Summary: DPath is not XPath!
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SC/SCHWIGON/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::XSAccessor)
@@ -48,17 +47,25 @@ Requires: perl(Safe) >= 2.30
Requires: perl(Sub::Exporter)
Requires: perl(Text::Balanced) >= 2.02
Requires: perl(aliased) >= 0.33
Provides: perl(Data::DPath) = 0.590.0
Provides: perl(Data::DPath::Attrs) = 0.590.0
Provides: perl(Data::DPath::Context) = 0.590.0
Provides: perl(Data::DPath::Filters) = 0.590.0
Provides: perl(Data::DPath::Path) = 0.590.0
Provides: perl(Data::DPath::Point) = 0.590.0
Provides: perl(Data::DPath::Step) = 0.590.0
%define __perllib_provides /bin/true
%{perl_requires}
%description
DPath is not XPath!
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -69,7 +76,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README todo.org
%license LICENSE