Репозитории ALT
Группа :: Разработка/Perl
Пакет: perl-XML-DOM
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: perl-XML-DOM-1.44-alt2.patch
Скачать
Скачать
.gear/rules | 2 +
.../tags/8410036a39ab32e48a93ee8e0f55b0d5687fcf39 | 13 ++++
.gear/tags/list | 1 +
lib/XML/DOM/NamedNodeMap.pm | 10 ++--
perl-XML-DOM.spec | 73 ++++++++++++++++++++
5 files changed, 94 insertions(+), 5 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..8115c0a
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=XML-DOM-@version@
+diff: @version@:. . name=perl-XML-DOM-@version@-@release@.patch
diff --git a/.gear/tags/8410036a39ab32e48a93ee8e0f55b0d5687fcf39 b/.gear/tags/8410036a39ab32e48a93ee8e0f55b0d5687fcf39
new file mode 100644
index 0000000..b476dfc
--- /dev/null
+++ b/.gear/tags/8410036a39ab32e48a93ee8e0f55b0d5687fcf39
@@ -0,0 +1,13 @@
+object cc064f519b066aafd454d749ad6c20b1d3ebad01
+type commit
+tag 1.44
+tagger Alexey Tourbin <at@altlinux.ru> 1254136337 +0400
+
+1.44
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.10 (GNU/Linux)
+
+iEYEABECAAYFAkrAmhEACgkQfBKgtDjnu0b/MACg4TQ+Ncl6tMzHMtkqlD6LKBIp
+IOIAoOVSOpLmxeUQbF3YtoHvReT9Bi27
+=0bp7
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..f243f45
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+8410036a39ab32e48a93ee8e0f55b0d5687fcf39 1.44
diff --git a/lib/XML/DOM/NamedNodeMap.pm b/lib/XML/DOM/NamedNodeMap.pm
index 3747d54..9755cea 100644
--- a/lib/XML/DOM/NamedNodeMap.pm
+++ b/lib/XML/DOM/NamedNodeMap.pm
@@ -43,10 +43,10 @@ sub setNamedItem
if $self->isReadOnly;
croak new XML::DOM::DOMException (WRONG_DOCUMENT_ERR)
- if $node->[XML::DOM::Node::_Doc] != $prop->{Doc};
+ if $node->[&XML::DOM::Node::_Doc] != $prop->{Doc};
croak new XML::DOM::DOMException (INUSE_ATTRIBUTE_ERR)
- if defined ($node->[XML::DOM::Node::_UsedIn]);
+ if defined ($node->[&XML::DOM::Node::_UsedIn]);
croak new XML::DOM::DOMException (INVALID_CHARACTER_ERR,
"can't add name with NodeName [$name] to NamedNodeMap")
@@ -72,7 +72,7 @@ sub setNamedItem
}
$self->{$name} = $node;
- $node->[XML::DOM::Node::_UsedIn] = $self;
+ $node->[&XML::DOM::Node::_UsedIn] = $self;
if ($index == -1)
{
@@ -162,7 +162,7 @@ sub cloneNode
my $key = $val->getNodeName;
my $newNode = $val->cloneNode ($deep);
- $newNode->[XML::DOM::Node::_UsedIn] = $map;
+ $newNode->[&XML::DOM::Node::_UsedIn] = $map;
$map->{$key} = $newNode;
push (@{$map->{$Special}->{Values}}, $newNode);
}
@@ -207,7 +207,7 @@ sub dispose
for my $kid (@{$self->getValues})
{
- undef $kid->[XML::DOM::Node::_UsedIn]; # was delete
+ undef $kid->[&XML::DOM::Node::_UsedIn]; # was delete
$kid->dispose;
}
diff --git a/perl-XML-DOM.spec b/perl-XML-DOM.spec
new file mode 100644
index 0000000..6de0972
--- /dev/null
+++ b/perl-XML-DOM.spec
@@ -0,0 +1,73 @@
+%define dist XML-DOM
+Name: perl-%dist
+Version: 1.44
+Release: alt2
+
+Summary: A module for building DOM Level 1 compliant document structures
+License: GPL or Artistic
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version.tar
+Patch: %name-%version-%release.patch
+
+BuildArch: noarch
+
+# Automatically added by buildreq on Wed Sep 30 2009
+BuildRequires: perl-XML-RegExp perl-devel perl-libxml-perl
+
+%description
+This is a Perl extension to XML::Parser. It adds a new 'Style' to XML::Parser,
+called 'Dom', that allows XML::Parser to build an Object Oriented datastructure
+with a DOM Level 1 compliant interface.
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+
+%build
+%perl_vendor_build
+
+%install
+%perl_vendor_install
+
+%files
+%doc Changes README FAQ.xml
+%perl_vendor_privlib/XML
+
+%changelog
+* Wed Sep 30 2009 Alexey Tourbin <at@altlinux.ru> 1.44-alt2
+- re-enabled japanese tests
+
+* Sat Aug 27 2005 Andrey Brindeew <abr@altlinux.org> 1.44-alt1
+- 1.44
+
+* Sun May 16 2004 Andrey Brindeew <abr@altlinux.ru> 1.43-alt5
+- Removed tests (due incompatibility with perl 5.8.4):
+ + t/dom_jp_attr.t
+ + t/dom_jp_cdata.t
+ + t/dom_jp_minus.t
+ + t/dom_jp_modify.t
+
+* Tue Nov 25 2003 Andrey Brindeew <abr@altlinux.ru> 1.43-alt4
+- Summary tag was fixed.
+
+* Fri Sep 05 2003 Andrey Brindeew <abr@altlinux.ru> 1.43-alt3
+- Sources patched (this makes `perl -c' happy).
+- URL was fixed.
+
+* Thu Aug 07 2003 Andrey Brindeew <abr@altlinux.ru> 1.43-alt2
+- Rebuild.
+
+* Tue Jul 29 2003 Andrey Brindeew <abr@altlinux.ru> 1.43-alt1
+- 1.43
+- BuildArch was changed to `noarch'.
+
+* Fri Jul 18 2003 Andrey Brindeew <abr@altlinux.ru> 1.42-alt3
+- Requires fixed.
+
+* Fri Jul 18 2003 Andrey Brindeew <abr@altlinux.ru> 1.42-alt2
+- Added patch (removed stupid selftest).
+
+* Fri Jul 18 2003 Andrey Brindeew <abr@altlinux.ru> 1.42-alt1
+- First build for ALTLinux.