Compare commits
11 Commits
844bdbadfc
...
main
Author | SHA256 | Date | |
---|---|---|---|
717befecce | |||
168e425bc5 | |||
b9ee902681 | |||
2f4af65e63 | |||
547404c308 | |||
|
7f50008f15 | ||
|
4569420257 | ||
|
f872c0d92b | ||
|
7bcfa3517d | ||
|
e8783d2f02 | ||
|
8a75a30afd |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:03911d5dd297956d222176f36a36180372958306a6fab2a51295636cd8520fed
|
|
||||||
size 52695
|
|
@@ -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
3
Data-DPath-0.60.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:99f4426d458c5bb8d4c510e0c2629c8a88ae4f4661c0b1e45c5550362f92ecc1
|
||||||
|
size 288296
|
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

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

|
||||||
|
|
||||||
|
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal 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
|
@@ -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';
|
|
@@ -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
|
Sat Jun 4 23:45:49 UTC 2011 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,76 +12,75 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
%define cpan_name Data-DPath
|
||||||
Summary: DPath is not XPath
|
Name: perl-Data-DPath
|
||||||
Url: http://search.cpan.org/dist/Data-DPath/
|
Version: 0.600.0
|
||||||
Group: Development/Libraries/Perl
|
Release: 0
|
||||||
Source: http://www.cpan.org/authors/id/S/SC/SCHWIGON/%{cpan_name}-%{version}.tar.gz
|
# 0.60 -> normalize -> 0.600.0
|
||||||
Patch1: perl-Data-DPath-use_lib.patch
|
%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
|
||||||
|
Source100: README.md
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(aliased)
|
BuildRequires: perl(Class::XSAccessor)
|
||||||
BuildRequires: perl(Class::XSAccessor) >= 1.05
|
|
||||||
BuildRequires: perl(Class::XSAccessor::Array)
|
BuildRequires: perl(Class::XSAccessor::Array)
|
||||||
BuildRequires: perl(Clone)
|
|
||||||
BuildRequires: perl(Devel::Size)
|
|
||||||
BuildRequires: perl(Iterator::Util)
|
BuildRequires: perl(Iterator::Util)
|
||||||
BuildRequires: perl(List::MoreUtils)
|
BuildRequires: perl(List::Util) >= 1.45
|
||||||
BuildRequires: perl(parent)
|
BuildRequires: perl(Safe) >= 2.30
|
||||||
BuildRequires: perl(Safe) >= 2.29
|
|
||||||
BuildRequires: perl(Sub::Exporter)
|
BuildRequires: perl(Sub::Exporter)
|
||||||
BuildRequires: perl(Test::Deep)
|
BuildRequires: perl(Test::Deep)
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Text::Balanced) >= 2.02
|
BuildRequires: perl(Text::Balanced) >= 2.02
|
||||||
Requires: perl(aliased)
|
BuildRequires: perl(aliased) >= 0.33
|
||||||
Requires: perl(Class::XSAccessor) >= 1.05
|
Requires: perl(Class::XSAccessor)
|
||||||
Requires: perl(Class::XSAccessor::Array)
|
Requires: perl(Class::XSAccessor::Array)
|
||||||
Requires: perl(Iterator::Util)
|
Requires: perl(Iterator::Util)
|
||||||
Requires: perl(List::MoreUtils)
|
Requires: perl(List::Util) >= 1.45
|
||||||
Requires: perl(parent)
|
Requires: perl(Safe) >= 2.30
|
||||||
Requires: perl(Safe) >= 2.29
|
|
||||||
Requires: perl(Sub::Exporter)
|
Requires: perl(Sub::Exporter)
|
||||||
Requires: perl(Text::Balanced) >= 2.02
|
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}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
With this module you can address points in a datastructure by describing a
|
DPath is not XPath!
|
||||||
"path" to it using hash keys, array indexes or some wildcard-like steps. It is
|
|
||||||
inspired by XPath but differs from it.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
%if 0%{?suse_version} <= 1120
|
|
||||||
%patch1 -p1
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
sed -i "s|__vendorperl__|%{perl_vendorlib}|g" t/*.t
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%doc Changes README todo.org
|
||||||
%doc ChangeLog README todo.org
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user