diff --git a/Data-DPath-0.43.tar.gz b/Data-DPath-0.43.tar.gz deleted file mode 100644 index 011d394..0000000 --- a/Data-DPath-0.43.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03911d5dd297956d222176f36a36180372958306a6fab2a51295636cd8520fed -size 52695 diff --git a/Data-DPath-0.44.tar.gz b/Data-DPath-0.44.tar.gz deleted file mode 100644 index 7b4f59e..0000000 --- a/Data-DPath-0.44.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:368e3c0beca10bdf09bec51d958683b28087c1844f55661e9a3c522498314b69 -size 52757 diff --git a/Data-DPath-0.52.tar.gz b/Data-DPath-0.52.tar.gz new file mode 100644 index 0000000..3a5f9ea --- /dev/null +++ b/Data-DPath-0.52.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74a3a5d31ba692508109c9996707d667821ea1415dd036465a280ef7af1869af +size 280929 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b320f5 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Data-DPath-use_lib.patch b/perl-Data-DPath-use_lib.patch deleted file mode 100644 index 5c96f86..0000000 --- a/perl-Data-DPath-use_lib.patch +++ /dev/null @@ -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'; diff --git a/perl-Data-DPath.changes b/perl-Data-DPath.changes index 35a795a..30b00dc 100644 --- a/perl-Data-DPath.changes +++ b/perl-Data-DPath.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +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 + + * 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 diff --git a/perl-Data-DPath.spec b/perl-Data-DPath.spec index e8dd011..e270a10 100644 --- a/perl-Data-DPath.spec +++ b/perl-Data-DPath.spec @@ -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) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,55 +15,46 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Data-DPath -Version: 0.43 -Release: 1 -License: GPL+ or Artistic +Version: 0.52 +Release: 0 %define cpan_name Data-DPath -Summary: DPath is not XPath -Url: http://search.cpan.org/dist/Data-DPath/ +Summary: DPath is not XPath! +License: Artistic-1.0 or GPL-1.0+ 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 +Url: http://search.cpan.org/dist/Data-DPath/ +Source0: http://www.cpan.org/authors/id/S/SC/SCHWIGON/%{cpan_name}-%{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(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(Safe) >= 2.30 Requires: perl(Sub::Exporter) Requires: perl(Text::Balanced) >= 2.02 +Requires: perl(aliased) >= 0.33 %{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 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -77,11 +68,8 @@ sed -i "s|__vendorperl__|%{perl_vendorlib}|g" t/*.t %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 LICENSE README todo.org %changelog