Sync from SUSE:SLFO:Main perl-XML-XPath revision 0a32d0f30fc67f939fbc95608a27679a

This commit is contained in:
Adrian Schröter 2024-05-03 19:13:38 +02:00
commit 36da772c5a
5 changed files with 370 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
XML-XPath-1.48.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

252
perl-XML-XPath.changes Normal file
View File

@ -0,0 +1,252 @@
-------------------------------------------------------------------
Wed Aug 10 03:11:57 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.48
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.48 2022-08-09 MANWAR
- More contributions by @shawnm.
a) pull request #11
Support use XML::XPath some_version; and modernize inheritance.
b) pull request #12
Add documentation about supported XPath functions.
-------------------------------------------------------------------
Sat May 14 03:08:51 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.47
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.47 2022-05-13 MANWAR
- Another bunch of patches, thanks @shawnm.
a) Get the encoding used for command line arguments from
the environment.
b) Don't assume standard input and output are UTF-8; also
get their encoding from the environment.
1.46 2022-05-12 MANWAR
- Added missing unit test (t/52matches.t)
- Added missing unit test (t/cleanup.t)
- Added unit test for MANIFEST (t/manifest.t)
1.45 2022-05-12 MANWAR
- Added XPath function matches(), thanks @shawnw.
-------------------------------------------------------------------
Thu Nov 8 07:08:40 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to 1.44
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.44 2018-10-11 MANWAR
- Added new test for axis descendant.
1.43 2018-10-10 MANWAR
- Fix memory leak in XML::XPath::Parser (PR #6), Thanks @niner.
-------------------------------------------------------------------
Thu Aug 3 06:29:16 UTC 2017 - coolo@suse.com
- updated to 1.42
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.42 2017-07-30 MANWAR
- Fixed GitHub issue #5 (abstract is undef in meta files). Thanks @y.
-------------------------------------------------------------------
Sat Jul 29 06:35:42 UTC 2017 - coolo@suse.com
- updated to 1.41
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.41 2017-07-28 MANWAR
- Fixed GitHub issue #4 (can't use non-ascii first character as element name). Thanks @nanis, @ikegami.
-------------------------------------------------------------------
Mon Nov 14 07:30:28 UTC 2016 - coolo@suse.com
- updated to 1.40
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.40 2016-11-13 MANWAR
- Proposed fix for RT #118726.
-------------------------------------------------------------------
Fri Nov 11 07:35:02 UTC 2016 - coolo@suse.com
- updated to 1.39
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.39 2016-11-08 MANWAR
- Proposed fix for RT #118643.
-------------------------------------------------------------------
Tue Nov 1 07:34:05 UTC 2016 - coolo@suse.com
- updated to 1.38
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.38 2016-10-31 MANWAR
- Fixed parser caching as reported by Jeremy (mysticprune).
-------------------------------------------------------------------
Sun Jun 12 14:02:45 UTC 2016 - coolo@suse.com
- updated to 1.37
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.37 2016-06-02 MANWAR
- Fixed annoying warnings.
-------------------------------------------------------------------
Thu May 5 10:29:52 UTC 2016 - coolo@suse.com
- updated to 1.36
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.36 2016-04-14 MANWAR
- Fixed issue RT #68932 (/usr/bin/xpath outputs unwanted text when quiet mode ist set).
-------------------------------------------------------------------
Thu Apr 7 10:19:30 UTC 2016 - coolo@suse.com
- updated to 1.35
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.35 2016-04-06 MANWAR
- Fixed issue RT #113576 (XML::XPath::Node::Element::getAttributeNode() uses unspecified behaviour).
-------------------------------------------------------------------
Fri Mar 11 11:06:21 UTC 2016 - coolo@suse.com
- updated to 1.34
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.34 2016-03-08 MANWAR
- Applied the patch to script examples/xpath (kindly provided by GREGOA).
-------------------------------------------------------------------
Mon Mar 7 11:15:24 UTC 2016 - coolo@suse.com
- updated to 1.33
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.33 2016-03-02 MANWAR
- Fixed issue RT #112584 (use of /d modifier in transliteration operator).
1.32 2016-02-23 MANWAR
- Applied the following patches kindly provided by GREGOA:
https://anonscm.debian.org/cgit/pkg-perl/packages/libxml-xpath-perl.git/tree/debian/patches/fix-stringification-overload.patch
https://anonscm.debian.org/cgit/pkg-perl/packages/libxml-xpath-perl.git/tree/debian/patches/test.patch
https://anonscm.debian.org/cgit/pkg-perl/packages/libxml-xpath-perl.git/tree/debian/patches/xpath-option-to-work-without-internet-connection.patch
-------------------------------------------------------------------
Tue Feb 23 10:41:22 UTC 2016 - coolo@suse.com
- updated to 1.31
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.31 2016-02-22 MANWAR
- Proposed fix for RT #112017.
-------------------------------------------------------------------
Sun Feb 7 10:57:01 UTC 2016 - coolo@suse.com
- updated to 1.30
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.30 2016-02-04 MANWAR
- Fixed issue RT #15902 (Quoting warnings with translate).
- Fixed issue RT #21154 (translate() function does not remove characters or support -)
1.29 2016-02-03 MANWAR
- Fixed issue RT# 26144 (createNode doesn't honor position() predicate).
1.28 2016-01-31 MANWAR
- Changed the LICENSE information about the package XML::XPath::PerlSAX as per
Matt Sergeant email response (dated 2016-01-30).
1.27 2016-01-30 MANWAR
- Fixed issue RT# 32012 (Debian bug #187583, http://bugs.debian.org/187583).
-------------------------------------------------------------------
Wed Jan 27 10:53:13 UTC 2016 - coolo@suse.com
- updated to 1.26
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.26 2016-01-25 MANWAR
- Fixed inconsistent version issue (CPANTS).
- Added key 'provides' to the Makefile.PL script.
- Added unit test scripts t/meta-json.t and t/meta-yml.t
1.25 2016-01-20 MANWAR
- Merged in GitHub PR #2, thanks to sdeseille.
- Merged t/45overloading_number_operator.t and t/99rt_11724.t into t/45cmp_nodeset.t
-------------------------------------------------------------------
Wed Jan 20 10:57:03 UTC 2016 - coolo@suse.com
- updated to 1.24
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.24 2016-01-19 MANWAR
- Fixed issue RT# 111278 (XML::XPath::PerlSAX doesn't compile).
-------------------------------------------------------------------
Tue Jan 19 10:40:24 UTC 2016 - coolo@suse.com
- updated to 1.23
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.23 2016-01-18 MANWAR
- Fixed issues RT# 6363 (using < in a query returns results as if <= had been used).
1.22 2016-01-13 MANWAR
- Fixed issues RT# 30818 and RT# 80277.
-------------------------------------------------------------------
Wed Jan 13 10:42:00 UTC 2016 - coolo@suse.com
- updated to 1.21
see /usr/share/doc/packages/perl-XML-XPath/Changes
1.21 2016-01-12 MANWAR
- Fixed issues RT# 14957 and RT# 30819.
1.20 2016-01-10 MANWAR
- Fixed issues RT# 26143 and RT# 68703.
-------------------------------------------------------------------
Wed Jan 6 10:44:48 UTC 2016 - coolo@suse.com
- updated to 1.19
see /usr/share/doc/packages/perl-XML-XPath/Changes
-------------------------------------------------------------------
Wed Feb 27 06:19:21 UTC 2013 - coolo@suse.com
- update license to new format
-------------------------------------------------------------------
Wed Dec 1 13:36:24 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:32:31 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Mon Jul 30 12:49:58 CEST 2007 - mvidner@suse.cz
- package created, needed for yast2-metapackage-handler
- v 1.13

64
perl-XML-XPath.spec Normal file
View File

@ -0,0 +1,64 @@
#
# spec file for package perl-XML-XPath
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name XML-XPath
Name: perl-XML-XPath
Version: 1.48
Release: 0
License: Artistic-2.0
Summary: Parse and evaluate XPath statements
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Path::Tiny) >= 0.076
BuildRequires: perl(Scalar::Util) >= 1.45
BuildRequires: perl(XML::Parser) >= 2.23
Requires: perl(Scalar::Util) >= 1.45
Requires: perl(XML::Parser) >= 2.23
%{perl_requires}
%description
This module aims to comply exactly to the XPath specification at
http://www.w3.org/TR/xpath and yet allow extensions to be added in the form
of functions.Modules such as XSLT and XPointer may need to do this as they
support functionality beyond XPath.
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes examples README TODO
%license LICENSE
%changelog