.gear-rules | 2 + .../2e53b83f2ecc1ea5070bd6a3a4ee761f85f157f9 | 13 +++ .gear-tags/list | 1 + LibXSLT.pm | 11 +-- Makefile.PL | 2 - perl-XML-LibXSLT.spec | 82 ++++++++++++++++++++ t/13error.t | 2 +- 7 files changed, 102 insertions(+), 11 deletions(-) diff --git a/.gear-rules b/.gear-rules new file mode 100644 index 0000000..0b76189 --- /dev/null +++ b/.gear-rules @@ -0,0 +1,2 @@ +tar: @version@:. name=XML-LibXSLT-@version@ +diff: @version@:. . name=perl-XML-LibXSLT-@version@-@release@.patch diff --git a/.gear-tags/2e53b83f2ecc1ea5070bd6a3a4ee761f85f157f9 b/.gear-tags/2e53b83f2ecc1ea5070bd6a3a4ee761f85f157f9 new file mode 100644 index 0000000..2651159 --- /dev/null +++ b/.gear-tags/2e53b83f2ecc1ea5070bd6a3a4ee761f85f157f9 @@ -0,0 +1,13 @@ +object c8c567fcdcfb974296959e57f8ea2b337b95a6ca +type commit +tag 1.68 +tagger Alexey Tourbin 1226150052 +0300 + +1.68 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEABECAAYFAkkVkKQACgkQfBKgtDjnu0b6LgCgooEYHLDgAVT8B1HPSEuBbovz +ZQgAoJtmcnE1oJqjXRqNf1fvZPAdOyrK +=5DlH +-----END PGP SIGNATURE----- diff --git a/.gear-tags/list b/.gear-tags/list new file mode 100644 index 0000000..27de91c --- /dev/null +++ b/.gear-tags/list @@ -0,0 +1 @@ +2e53b83f2ecc1ea5070bd6a3a4ee761f85f157f9 1.68 diff --git a/LibXSLT.pm b/LibXSLT.pm index 7017fe0..93561ac 100644 --- a/LibXSLT.pm +++ b/LibXSLT.pm @@ -2,7 +2,7 @@ package XML::LibXSLT; use strict; -use vars qw($VERSION @ISA $USE_LIBXML_DATA_TYPES $MatchCB $ReadCB $OpenCB $CloseCB); +use vars qw($VERSION $USE_LIBXML_DATA_TYPES $MatchCB $ReadCB $OpenCB $CloseCB); use XML::LibXML 1.67; use XML::LibXML::Literal; @@ -13,15 +13,10 @@ use XML::LibXML::NodeList; BEGIN { use Carp; -require Exporter; - $VERSION = "1.68"; -require DynaLoader; - -@ISA = qw(DynaLoader); - -bootstrap XML::LibXSLT $VERSION; +require XSLoader; +XSLoader::load(__PACKAGE__, $VERSION); # the following magic lets XML::LibXSLT internals know # where to register XML::LibXML proxy nodes diff --git a/Makefile.PL b/Makefile.PL index b7c0b9d..3653010 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -117,8 +117,6 @@ if (have_library("exslt")) { $config{DEFINE} .= " -DHAVE_EXSLT" } -$config{LIBS}.=' '.$Config{libs}; - if ($DEBUG) { print "LIBS: $config{LIBS}\n"; print "INC: $config{INC}\n"; diff --git a/perl-XML-LibXSLT.spec b/perl-XML-LibXSLT.spec new file mode 100644 index 0000000..7fe5dfc --- /dev/null +++ b/perl-XML-LibXSLT.spec @@ -0,0 +1,82 @@ +%define dist XML-LibXSLT +Name: perl-%dist +Version: 1.68 +Release: alt1 + +Summary: Perl interface to the Gnome libxslt library +License: GPL or Artistic +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +Requires: perl-XML-LibXML >= %version +BuildPreReq: perl-XML-LibXML >= %version + +# Automatically added by buildreq on Sat Nov 08 2008 +BuildRequires: libxslt-devel perl-Encode perl-XML-LibXML perl-devel + +%description +This module is a fast XSLT library, based on the Gnome libxslt engine. +The libxslt processor is fast, highly standards compliant, with +practically all of XSLT 1.0 being supported in version 0.9 of libxslt. + +%prep +%setup -q -n %dist-%version +%patch -p1 + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc Changes README +%dir %perl_vendor_archlib/XML + %perl_vendor_archlib/XML/LibXSLT.pm +%dir %perl_vendor_autolib/XML +%dir %perl_vendor_autolib/XML/LibXSLT + %perl_vendor_autolib/XML/LibXSLT/LibXSLT.so + +%changelog +* Sat Nov 08 2008 Alexey Tourbin 1.68-alt1 +- 1.66 -> 1.68 + +* Fri Feb 22 2008 Alexey Tourbin 1.66-alt1 +- 1.63 -> 1.66 + +* Sat Oct 27 2007 Alexey Tourbin 1.63-alt1 +- 1.62 -> 1.63 + +* Mon Aug 20 2007 Alexey Tourbin 1.62-alt2 +- changed src.rpm packaging to keep upstream tarball unchanged + +* Tue Nov 21 2006 Alexey Tourbin 1.62-alt1 +- 1.61 -> 1.62 + +* Sat Nov 18 2006 Alexey Tourbin 1.61-alt1 +- 1.60 -> 1.61 +- imported sources into git and built with gear +- fixed test suite for new libxslt-1.1.18 (cpan #23467) + +* Sun Aug 27 2006 Alexey Tourbin 1.60-alt1 +- 1.59 -> 1.60 + +* Thu Aug 10 2006 Alexey Tourbin 1.59-alt1 +- 1.58 -> 1.59 +- benchmark.pl not packaged + +* Mon Aug 08 2005 Alexey Tourbin 1.58-alt1 +- 1.57 -> 1.58 +- manual pages not packaged (use perldoc) + +* Sat Feb 19 2005 ALT QA Team Robot 1.57-alt1.1 +- Rebuilt with rpm-build-perl-0.5.1. + +* Thu Apr 15 2004 Alexey Tourbin 1.57-alt1 +- 1.57, Sisyphus release, thanks to Michael Bochkaryov + +* Fri Apr 9 2004 Michael Bochkaryov 1.53-ks0 +- Initial release diff --git a/t/13error.t b/t/13error.t index d13a298..b4d49e7 100644 --- a/t/13error.t +++ b/t/13error.t @@ -118,4 +118,4 @@ ok( $@ ); ok( $@ =~ /unregistered variable foo|variable 'foo' has not been declared/i ); ok( $@ =~ /element value-of/ ); -} \ No newline at end of file +}