8
0

- updated to 0.07

- Added a COPYRIGHT section
  
     - Add CSS3 "=$" operator (Corion)
     - Add CSS3 "=^" operator (Corion)
     - Add complex subexpressions for :not() (Corion)
     - Add :empty selector (Corion)
     - Support 'root' parameters to to_xpath (JZOBEL, David Wheeler, Corion)
  
     - Add CSS3 "=*" operator for real substring matching (Corion)
     - Add CSS3 ":first-of-type" and ":nth-of-type()" pseudo-attributes (Corion)
       (but if you're using them, you're likely better off using XPath already)
     - Add CSS3 "~" operator (Corion)
     - Adopt tests for "~" operator from RT #61990, by Aaron Crane (Corion)
     - Add :contains() selector (only immediate child nodes) (Corion)
     - Support implicit selectors like "> em" (translated to "* > em") (Corion)
       Fixes RT #50131 (Reported by David Wheeler)
     - Fix more implicit universal selectors (fixes RT #49982)
       :lang(c) as a bare selector works now (Corion, Aaron Crane)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Selector-XPath?expand=0&rev=2
This commit is contained in:
Stephan Kulow
2011-04-22 07:30:05 +00:00
committed by Git OBS Bridge
parent 9cc845ee4e
commit 89831caf48
4 changed files with 66 additions and 35 deletions

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07a2399e105e556d74234d9a39bc2b6642347d5faa776abbf730268bb922e81f
size 22804

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Fri Apr 22 07:26:12 UTC 2011 - coolo@opensuse.org
- updated to 0.07
- Added a COPYRIGHT section
- Add CSS3 "=$" operator (Corion)
- Add CSS3 "=^" operator (Corion)
- Add complex subexpressions for :not() (Corion)
- Add :empty selector (Corion)
- Support 'root' parameters to to_xpath (JZOBEL, David Wheeler, Corion)
- Add CSS3 "=*" operator for real substring matching (Corion)
- Add CSS3 ":first-of-type" and ":nth-of-type()" pseudo-attributes (Corion)
(but if you're using them, you're likely better off using XPath already)
- Add CSS3 "~" operator (Corion)
- Adopt tests for "~" operator from RT #61990, by Aaron Crane (Corion)
- Add :contains() selector (only immediate child nodes) (Corion)
- Support implicit selectors like "> em" (translated to "* > em") (Corion)
Fixes RT #50131 (Reported by David Wheeler)
- Fix more implicit universal selectors (fixes RT #49982)
:lang(c) as a bare selector works now (Corion, Aaron Crane)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 25 01:00:39 UTC 2010 - pascal.bleser@opensuse.org Sat Dec 25 01:00:39 UTC 2010 - pascal.bleser@opensuse.org

View File

@@ -1,54 +1,62 @@
# vim: set sw=4 ts=4 et nu: #
# spec file for package perl-HTML-Selector-XPath (Version 0.07)
#
# Copyright (c) 2010 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
# 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 http://bugs.opensuse.org/
#
Name: perl-HTML-Selector-XPath Name: perl-HTML-Selector-XPath
Version: 0.04 Version: 0.07
Release: 0 Release: 1
License: GPL+ or Artistic
%define cpan_name HTML-Selector-XPath
Summary: CSS Selector to XPath compiler Summary: CSS Selector to XPath compiler
Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/HTML-Selector-XPath-%{version}.tar.gz Url: http://search.cpan.org/dist/HTML-Selector-XPath/
URL: http://search.cpan.org/dist/HTML-Selector-XPath
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: Perl License Source: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildArch: noarch
Requires: perl = %{perl_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Base)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Base)
BuildRequires: perl(Test::More)
%{perl_requires}
%description %description
HTML::Selector::XPath is a utility function to compile CSS2 selector to HTML::Selector::XPath is a utility function to compile full set of CSS2 and
the equivalent XPath expression. partial CSS3 selectors to the equivalent XPath expression.
%prep %prep
%setup -q -n "HTML-Selector-XPath-%{version}" %setup -q -n %{cpan_name}-%{version}
%__sed -i '/^auto_install/d' Makefile.PL
%build %build
%__perl Makefile.PL PREFIX="%{_prefix}" %{__perl} Makefile.PL INSTALLDIRS=vendor
%__make %{?jobs:-j%{jobs}} %{__make} %{?_smp_mflags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean %clean
%{?buildroot:%__rm -rf "%{buildroot}"} %{__rm} -rf %{buildroot}
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,755)
%doc Changes README %doc Changes README
%dir %{perl_vendorlib}/HTML
%dir %{perl_vendorlib}/HTML/Selector
%{perl_vendorlib}/HTML/Selector/XPath.pm
%dir %{perl_vendorarch}/auto/HTML
%dir %{perl_vendorarch}/auto/HTML/Selector
%{perl_vendorarch}/auto/HTML/Selector/XPath
%doc %{perl_man3dir}/HTML::Selector::XPath.%{perl_man3ext}%{ext_man}
%changelog