Compare commits

...

10 Commits

Author SHA256 Message Date
168e425bc5 Accepting request 1234003 from devel:languages:perl:autoupdate
- updated to 0.600.0 (0.60)
   see /usr/share/doc/packages/perl-Data-DPath/Changes
  0.60      2024-09-29
    - avoid deprecated smartmatch for most tests [GH #29, Graham Knop]

OBS-URL: https://build.opensuse.org/request/show/1234003
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=13
2025-01-06 16:48:54 +00:00
b9ee902681 Fix disabling of __perllib_provides
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=12
2024-03-08 22:15:47 +00:00
2f4af65e63 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
2023-07-28 07:28:57 +00:00
547404c308 Accepting request 726888 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/726888
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=10
2019-08-29 10:04:59 +00:00
Stephan Kulow
7f50008f15 Accepting request 517633 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/517633
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=9
2017-09-03 08:58:43 +00:00
Stephan Kulow
4569420257 Accepting request 482149 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/482149
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=8
2017-03-23 06:50:51 +00:00
Stephan Kulow
f872c0d92b Accepting request 332212 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/332212
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=7
2015-09-20 13:47:25 +00:00
Stephan Kulow
7bcfa3517d Accepting request 328585 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/328585
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=6
2015-09-02 19:12:03 +00:00
Stephan Kulow
e8783d2f02 Accepting request 310899 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/310899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=5
2015-06-11 06:35:35 +00:00
Stephan Kulow
8a75a30afd Accepting request 297068 from devel:languages:perl:autoupdate
- updated to 0.52
   see /usr/share/doc/packages/perl-Data-DPath/Changes

- updated to 0.44
   see /usr/share/doc/packages/perl-Data-DPath/ChangeLog
  2011-06-22  Steffen Schwigon  <ss5@renormalist.net>
  
  	* v0.44
  
  	* fix RT#68882 - the value() filter function worked odd
  	  [reported by Alexei "RUSSOZ" Znamensky]

OBS-URL: https://build.opensuse.org/request/show/297068
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-DPath?expand=0&rev=4
2015-04-16 06:05:52 +00:00
7 changed files with 168 additions and 125 deletions

View File

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

View File

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

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

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

20
cpanspec.yml Normal file
View File

@@ -0,0 +1,20 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#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_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

View File

@@ -1,78 +0,0 @@
Index: Data-DPath-0.43/t/basics_without_overload.t
===================================================================
--- Data-DPath-0.43.orig/t/basics_without_overload.t
+++ Data-DPath-0.43/t/basics_without_overload.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-
+use lib '__vendorperl__';
use Test::More;
use Test::Deep;
use Data::DPath 'dpath', 'dpathr';
Index: Data-DPath-0.43/t/data_dpath.t
===================================================================
--- Data-DPath-0.43.orig/t/data_dpath.t
+++ Data-DPath-0.43/t/data_dpath.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-
+use lib '__vendorperl__';
use Test::More;
use Test::Deep;
use Data::DPath 'dpath', 'dpathr';
Index: Data-DPath-0.43/t/iterator.t
===================================================================
--- Data-DPath-0.43.orig/t/iterator.t
+++ Data-DPath-0.43/t/iterator.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-
+use lib '__vendorperl__';
use Test::More;
use Test::Deep;
use Data::DPath 'dpathi';
Index: Data-DPath-0.43/t/parallel.t
===================================================================
--- Data-DPath-0.43.orig/t/parallel.t
+++ Data-DPath-0.43/t/parallel.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-
+use lib '__vendorperl__';
use Test::More;
use Data::DPath::Context;
use List::Util 'min';
Index: Data-DPath-0.43/t/references.t
===================================================================
--- Data-DPath-0.43.orig/t/references.t
+++ Data-DPath-0.43/t/references.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-
+use lib '__vendorperl__';
use Test::More;
use Test::Deep;
use Data::DPath qw'dpathr dpath';
Index: Data-DPath-0.43/t/zeros.t
===================================================================
--- Data-DPath-0.43.orig/t/zeros.t
+++ Data-DPath-0.43/t/zeros.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-
+use lib '__vendorperl__';
use Test::More;
use Test::Deep;
use Data::DPath 'dpath';

View File

@@ -1,3 +1,109 @@
-------------------------------------------------------------------
Mon Sep 30 05:32:03 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.600.0 (0.60)
see /usr/share/doc/packages/perl-Data-DPath/Changes
0.60 2024-09-29
- avoid deprecated smartmatch for most tests [GH #29, Graham Knop]
-------------------------------------------------------------------
Fri Mar 8 22:15:44 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Fix disabling of __perllib_provides
-------------------------------------------------------------------
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>
- updated to 0.58
see /usr/share/doc/packages/perl-Data-DPath/Changes
0.58 2019-08-28
- fix filter expressions containing newlines [reported by David Schmidt]
- fix quote escaping (please check your edge cases) [Igor Sverdlov]
- replace List::MoreUtil with List::Util [Dan Book, Igor Sverdlov]
- doc cleanup [Kivanc Yazan]
- 'idx' attribute added in 0.56 was not added to Data::DPath::Attrs,
so didn't acquire an accessor [Diab Jerius]
-------------------------------------------------------------------
Sat Aug 19 05:19:50 UTC 2017 - coolo@suse.com
- updated to 0.57
see /usr/share/doc/packages/perl-Data-DPath/Changes
0.57 2017-08-18
- polished Safe.pm handling to cooperate with older Perl and other modules
in particular Test::Exception [Doug Bell, Jonathan William Taylor]
-------------------------------------------------------------------
Thu Mar 23 06:28:26 UTC 2017 - coolo@suse.com
- updated to 0.56
see /usr/share/doc/packages/perl-Data-DPath/Changes
0.56 2017-03-22
- no warnings: 'uninitialized'; Safe compartments; smartmatch operator usage [Diab Jerius]
- introduce Point attribute 'idx' to be used in array filters [Diab Jerius]
- Dist::Zilla distro polishing [Diab Jerius]
-------------------------------------------------------------------
Sun Sep 20 08:45:01 UTC 2015 - coolo@suse.com
- updated to 0.55
see /usr/share/doc/packages/perl-Data-DPath/Changes
0.55 2015-09-16
- spelling error, sync with Debian [Lucas Kanashiro]
-------------------------------------------------------------------
Wed Sep 2 08:38:22 UTC 2015 - coolo@suse.com
- updated to 0.54
see /usr/share/doc/packages/perl-Data-DPath/Changes
0.54 2015-09-02
- new function matchr() which returns results as hashref
instead of hash (RT#106515) [requested by djerius@cpan.org]
-------------------------------------------------------------------
Sun Jun 7 08:23:08 UTC 2015 - coolo@suse.com
- updated to 0.53
see /usr/share/doc/packages/perl-Data-DPath/Changes
0.53 2015-06-03
- no import from POSIX (RT#104914) [reported by ether]
-------------------------------------------------------------------
Thu Apr 16 05:47:40 UTC 2015 - coolo@suse.com
- updated to 0.52
see /usr/share/doc/packages/perl-Data-DPath/Changes
-------------------------------------------------------------------
Thu Apr 16 05:47:02 UTC 2015 - coolo@suse.com
- updated to 0.44
see /usr/share/doc/packages/perl-Data-DPath/ChangeLog
2011-06-22 Steffen Schwigon <ss5@renormalist.net>
* v0.44
* fix RT#68882 - the value() filter function worked odd
[reported by Alexei "RUSSOZ" Znamensky]
-------------------------------------------------------------------
Sat Jun 4 23:45:49 UTC 2011 - lars@linux-schulserver.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-DPath (Version 0.43)
# spec file for package perl-Data-DPath
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,76 +12,74 @@
# 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-Data-DPath
Version: 0.43
Release: 1
License: GPL+ or Artistic
%define cpan_name Data-DPath
Summary: DPath is not XPath
Url: http://search.cpan.org/dist/Data-DPath/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/S/SC/SCHWIGON/%{cpan_name}-%{version}.tar.gz
Patch1: perl-Data-DPath-use_lib.patch
Name: perl-Data-DPath
Version: 0.600.0
Release: 0
# 0.60 -> normalize -> 0.600.0
%define cpan_version 0.60
License: Artistic-1.0 OR GPL-1.0-or-later
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(aliased)
BuildRequires: perl(Class::XSAccessor) >= 1.05
BuildRequires: perl(Class::XSAccessor)
BuildRequires: perl(Class::XSAccessor::Array)
BuildRequires: perl(Clone)
BuildRequires: perl(Devel::Size)
BuildRequires: perl(Iterator::Util)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(parent)
BuildRequires: perl(Safe) >= 2.29
BuildRequires: perl(List::Util) >= 1.45
BuildRequires: perl(Safe) >= 2.30
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Text::Balanced) >= 2.02
Requires: perl(aliased)
Requires: perl(Class::XSAccessor) >= 1.05
BuildRequires: perl(aliased) >= 0.33
Requires: perl(Class::XSAccessor)
Requires: perl(Class::XSAccessor::Array)
Requires: perl(Iterator::Util)
Requires: perl(List::MoreUtils)
Requires: perl(parent)
Requires: perl(Safe) >= 2.29
Requires: perl(List::Util) >= 1.45
Requires: perl(Safe) >= 2.30
Requires: perl(Sub::Exporter)
Requires: perl(Text::Balanced) >= 2.02
Requires: perl(aliased) >= 0.33
Provides: perl(Data::DPath) = %{version}
Provides: perl(Data::DPath::Attrs) = %{version}
Provides: perl(Data::DPath::Context) = %{version}
Provides: perl(Data::DPath::Filters) = %{version}
Provides: perl(Data::DPath::Path) = %{version}
Provides: perl(Data::DPath::Point) = %{version}
Provides: perl(Data::DPath::Step) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
With this module you can address points in a datastructure by describing a
"path" to it using hash keys, array indexes or some wildcard-like steps. It is
inspired by XPath but differs from it.
DPath is not XPath!
%prep
%setup -q -n %{cpan_name}-%{version}
%if 0%{?suse_version} <= 1120
%patch1 -p1
sed -i "s|__vendorperl__|%{perl_vendorlib}|g" t/*.t
%endif
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc ChangeLog README todo.org
%doc Changes README todo.org
%license LICENSE
%changelog