8
0

Accepting request 177557 from home:coolo:update-perl

- updated to 0.14
   fixed   POD error

OBS-URL: https://build.opensuse.org/request/show/177557
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-XPathEngine?expand=0&rev=6
This commit is contained in:
Stephan Kulow
2013-06-04 17:22:36 +00:00
committed by Git OBS Bridge
parent 3f79508967
commit 219456c946
4 changed files with 49 additions and 27 deletions

BIN
XML-XPathEngine-0.13.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
XML-XPathEngine-0.14.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 4 17:14:43 UTC 2013 - coolo@suse.com
- updated to 0.14
fixed POD error
-------------------------------------------------------------------
Fri Nov 18 12:50:34 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-XPathEngine
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products 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,36 +15,59 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_with pod
Name: perl-XML-XPathEngine
Version: 0.14
Release: 0
%define cpan_name XML-XPathEngine
Summary: Re-usable XPath engine for DOM-like trees
Version: 0.13
Release: 1
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/XML-XPathEngine/
Source: http://www.cpan.org/modules/by-module/XML/XML-XPathEngine-%{version}.tar.gz
Source: http://www.cpan.org/authors/id/M/MI/MIROD/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%if %{with pod}
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
%endif
#BuildRequires: perl(attribute)
#BuildRequires: perl(minidom::node)
#BuildRequires: perl(minitree)
#BuildRequires: perl(XML::XPathEngine)
#BuildRequires: perl(XML::XPathEngine::Boolean)
#BuildRequires: perl(XML::XPathEngine::Expr)
#BuildRequires: perl(XML::XPathEngine::Function)
#BuildRequires: perl(XML::XPathEngine::Literal)
#BuildRequires: perl(XML::XPathEngine::LocationPath)
#BuildRequires: perl(XML::XPathEngine::NodeSet)
#BuildRequires: perl(XML::XPathEngine::Number)
#BuildRequires: perl(XML::XPathEngine::Root)
#BuildRequires: perl(XML::XPathEngine::Step)
#BuildRequires: perl(XML::XPathEngine::Variable)
%{perl_requires}
%description
This module provides an XPath engine, that can be re-used by other
module/classes that implement trees.
Authors:
--------
Michel Rodriguez <mirod@cpan.org>
In order to use the XPath engine, nodes in the user module need to mimick
DOM nodes. The degree of similitude between the user tree and a DOM
dictates how much of the XPath features can be used. A module implementing
all of the DOM should be able to use this module very easily (you might
need to add the cmp method on nodes in order to get ordered result sets).
This code is a more or less direct copy of the the XML::XPath manpage
module by Matt Sergeant. I only removed the XML processing part to remove
the dependency on XML::Parser, applied a couple of patches, renamed a whole
lot of methods to make Pod::Coverage happy, and changed the docs.
The article eXtending XML XPath,
http://www.xmltwig.com/article/extending_xml_xpath/ should give authors who
want to use this module enough background to do so.
Otherwise, my email is below ;--)
*WARNING*: while the underlying code is rather solid, this module mostly
lacks docs. As they say, "patches welcome"...
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -58,18 +81,11 @@ Authors:
%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%defattr(-,root,root,755)
%doc Changes README
%changelog