[packages/perl-XML-Filter-Dispatcher] use generic url

glen glen at pld-linux.org
Sun Nov 30 15:39:38 CET 2014


commit 9b5957a9462c1cbdb6aa446285d4c2704e995ecc
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 30 16:39:35 2014 +0200

    use generic url

 perl-XML-Filter-Dispatcher.spec | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/perl-XML-Filter-Dispatcher.spec b/perl-XML-Filter-Dispatcher.spec
index 0add56d..f21afaa 100644
--- a/perl-XML-Filter-Dispatcher.spec
+++ b/perl-XML-Filter-Dispatcher.spec
@@ -1,10 +1,10 @@
 #
 # Conditional build:
 %bcond_with	tests		# perform "make test" (last will fail, bug in test script)
-#
-%include	/usr/lib/rpm/macros.perl
+
 %define		pdir	XML
 %define		pnam	Filter-Dispatcher
+%include	/usr/lib/rpm/macros.perl
 Summary:	XML::Filter::Dispatcher - path based event dispatching with DOM support
 Summary(pl.UTF-8):	XML::Filter::Dispatcher - koordynacja zdarzeń w oparciu o ścieżkę ze wsparciem dla DOM
 Name:		perl-XML-Filter-Dispatcher
@@ -15,6 +15,7 @@ License:	GPL or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	1ffc34ea2f56a1afaba23702de1ab15e
+URL:		http://search.cpan.org/dist/XML-Filter-Dispatcher/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
@@ -31,11 +32,11 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 WARNING: Beta code alert.
 
 A SAX2 filter that dispatches SAX events based on "EventPath" patterns
-as the SAX events arrive. The SAX events are not buffered or
-converted to an in-memory document representation like a DOM tree.
-This provides for low lag operation because the actions associated
-with each pattern are executed as soon as possible, usually in an
-element's start_element() event method.
+as the SAX events arrive. The SAX events are not buffered or converted
+to an in-memory document representation like a DOM tree. This provides
+for low lag operation because the actions associated with each pattern
+are executed as soon as possible, usually in an element's
+start_element() event method.
 
 This differs from traditional XML pattern matching tools like XPath
 and XSLT (which is XPath-based) which require the entire document to
@@ -51,12 +52,12 @@ Filtr SAX2 koordynuje zdarzenia SAX oparte na wzorcach "EventPath" w
 miarę napływu zdarzeń SAX. Zdarzenia SAX nie są buforowane ani
 konwertowane do reprezentacji dokumentów w pamięci w rodzaju drzewa
 DOM. Daje to działanie z małymi opóźnieniami, ponieważ akcje powiązane
-z każdym wzorcem są wykonywane tak szybko jak to możliwe, zazwyczaj
-w metodzie zdarzenia elementu start_element().
+z każdym wzorcem są wykonywane tak szybko jak to możliwe, zazwyczaj w
+metodzie zdarzenia elementu start_element().
 
 Różni się to od tradycyjnych narzędzi dopasowujących wzorce XML jak
-XPath czy XSLT (które jest oparte na XPath), wymagających zbudowania
-w pamięci całego dokumentu (jako "drzewa DOM") przed wykonywaniem
+XPath czy XSLT (które jest oparte na XPath), wymagających zbudowania w
+pamięci całego dokumentu (jako "drzewa DOM") przed wykonywaniem
 zapytań. W terminologii SAX oznacza to, że muszą zbudować drzewo DOM
 ze zdarzeń SAX i opóźnić dopasowywanie wzorców do wykonania metody
 zdarzenia end_document().
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-XML-Filter-Dispatcher.git/commitdiff/9b5957a9462c1cbdb6aa446285d4c2704e995ecc



More information about the pld-cvs-commit mailing list