Name: perl-XML-Parser-Lite Version: 0.719 Release: 3%{?dist} Summary: Lightweight regexp-based XML parser License: (GPL+ or Artistic) and REX Group: Development/Libraries URL: http://search.cpan.org/dist/XML-Parser-Lite/ Source0: http://www.cpan.org/authors/id/P/PH/PHRED/XML-Parser-Lite-%{version}.tar.gz # rt#91434 Patch0: perl-XML-Parser-Lite-0.719-tests.patch # rt#98635 Patch1: perl-XML-Parser-Lite-0.719-plan.patch BuildArch: noarch # SOAP::Lite is not actually needed BuildRequires: perl BuildRequires: perl(diagnostics) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(re) BuildRequires: perl(SOAP::Test) BuildRequires: perl(strict) BuildRequires: perl(Test) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) BuildRequires: perl(XMLRPC::Lite) BuildRequires: perl(XMLRPC::Test::Server) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) %description This Perl module implements an XML parser with an interface similar to XML::Parser. Though not all callbacks are supported, you should be able to use it in the same way you use XML::Parser. %prep %setup -q -n XML-Parser-Lite-%{version} %patch0 -p1 %patch1 -p1 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Sep 05 2014 Petr Šabata - 0.719-3 - Avoid koji build failures by correcting the test plan * Thu Feb 06 2014 Petr Šabata - 0.719-2 - Patch the test suite so it actually works * Wed Feb 05 2014 Petr Šabata - 0.719-1 - 0.719 bump * Wed Nov 20 2013 Petr Šabata - 0.717-1 - Specfile autogenerated by cpanspec 1.78.