.gear/rules | 2 + .../tags/76c22ffec8e49be5fa6254ac61da66e50efd8c8f | 13 +++ .gear/tags/list | 1 + Makefile.PL | 1 - lib/XML/Atom.pm | 8 +-- perl-XML-Atom.spec | 79 ++++++++++++++++++++ 6 files changed, 97 insertions(+), 7 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..b35bc7c --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @version@:. name=XML-Atom-@version@ +diff: @version@:. . name=perl-XML-Atom-@version@-@release@.patch diff --git a/.gear/tags/76c22ffec8e49be5fa6254ac61da66e50efd8c8f b/.gear/tags/76c22ffec8e49be5fa6254ac61da66e50efd8c8f new file mode 100644 index 0000000..5853a65 --- /dev/null +++ b/.gear/tags/76c22ffec8e49be5fa6254ac61da66e50efd8c8f @@ -0,0 +1,13 @@ +object f487e0c69732c5c6530fd3ed96f68e8ced66d2e1 +type commit +tag 0.37 +tagger Alexey Tourbin 1269860255 +0400 + +0.37 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.10 (GNU/Linux) + +iEYEABECAAYFAkuwh6AACgkQfBKgtDjnu0aR1wCgtThOJKbTv2m0zqddaOQbY39h +cjIAoKKj6TlaFQdyg4iLJlICF0w0v6B1 +=Mhh+ +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..2f343e4 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +76c22ffec8e49be5fa6254ac61da66e50efd8c8f 0.37 diff --git a/Makefile.PL b/Makefile.PL index 67d91b4..84ecafb 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -10,7 +10,6 @@ auto_set_repository; requires('MIME::Base64'); requires('URI'); requires('Class::Data::Inheritable'); -requires('XML::XPath'); requires('LWP::UserAgent'); requires('Digest::SHA1'); requires('DateTime'); diff --git a/lib/XML/Atom.pm b/lib/XML/Atom.pm index 36afb86..a30605e 100644 --- a/lib/XML/Atom.pm +++ b/lib/XML/Atom.pm @@ -8,12 +8,8 @@ our $VERSION = '0.37'; BEGIN { @XML::Atom::EXPORT = qw( LIBXML ); - if (eval { require XML::LibXML }) { - *{XML::Atom::LIBXML} = sub() {1}; - } else { - require XML::XPath; - *{XML::Atom::LIBXML} = sub() {0}; - } + require XML::LibXML; + sub XML::Atom::LIBXML() {1}; local $^W = 0; *XML::XPath::Function::namespace_uri = sub { my $self = shift; diff --git a/perl-XML-Atom.spec b/perl-XML-Atom.spec new file mode 100644 index 0000000..5b6217a --- /dev/null +++ b/perl-XML-Atom.spec @@ -0,0 +1,79 @@ +%define dist XML-Atom +Name: perl-%dist +Version: 0.37 +Release: alt1 + +Summary: Atom API and Feed Support +License: GPL or Artistic +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +BuildArch: noarch + +# requires mod_perl +%add_findreq_skiplist */XML/Atom/Server.pm + +# Automatically added by buildreq on Mon Mar 29 2010 +BuildRequires: perl-Class-Data-Inheritable perl-DateTime perl-Digest-SHA1 perl-Module-Install-Repository perl-XML-LibXML perl-libwww + +%description +Atom is a syndication, API, and archiving format for weblogs and other +data. XML::Atom implements the feed format as well as a client for the +API. + +%prep +%setup -q -n %dist-%version +%patch -p1 +rm -rv inc/ + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc Changes README +%perl_vendor_privlib/XML* + +%changelog +* Mon Mar 29 2010 Alexey Tourbin 0.37-alt1 +- 0.35 -> 0.37 +- updated build dependencies for new Module::Install + +* Mon May 04 2009 Alexey Tourbin 0.35-alt1 +- 0.33 -> 0.35 + +* Thu Apr 23 2009 Alexey Tourbin 0.33-alt1 +- 0.32 -> 0.33 + +* Tue Nov 25 2008 Alexey Tourbin 0.32-alt1 +- 0.31 -> 0.32 + +* Tue Nov 18 2008 Alexey Tourbin 0.31-alt1 +- 0.28 -> 0.31 + +* Sat Nov 10 2007 Alexey Tourbin 0.28-alt1 +- 0.25_02 -> 0.28 + +* Sun Jul 22 2007 Alexey Tourbin 0.25_02-alt1 +- 0.25 -> 0.25_02 +- t/25-utf8-create.t: applied decode_utf8() fix from rt.cpan.org #28406 + +* Wed Mar 28 2007 Alexey Tourbin 0.25-alt1 +- 0.23 -> 0.25 + +* Sun Aug 27 2006 Alexey Tourbin 0.23-alt1 +- 0.21 -> 0.23 + +* Thu Jul 13 2006 Alexey Tourbin 0.21-alt1 +- 0.19 -> 0.21 + +* Mon Apr 17 2006 Alexey Tourbin 0.19-alt1 +- 0.13 -> 0.19 + +* Sun Aug 21 2005 Alexey Tourbin 0.13-alt1 +- initial revision