Blob Blame History Raw
Name:           perl-XML-Filter-BufferText
Version:        1.01
Release:        2%{?dist}
Summary:        Filter to put all characters() in one event
License:        GPL or Artistic
Group:          Development/Libraries
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires:       perl(XML::SAX::Base)
BuildRequires:  perl(XML::SAX::Base), perl(ExtUtils::MakeMaker)

This is a very simple filter. One common cause of grief (and programmer
error) is that XML parsers aren't required to provide character events in
one chunk. They can, but are not forced to, and most don't. This filter
does the trivial but oft-repeated task of putting all characters into a
single event.

%setup -q -n XML-Filter-BufferText-%{version}
chmod 644 Changes README

%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

make test

rm -rf %{buildroot}

%doc Changes README

* Sat Mar 17 2007 Andreas Thienemann <> 1.01-2
- Fixed dependencies

* Thu Mar 15 2007 Andreas Thienemann <> 1.01-1
- Specfile autogenerated by cpanspec 1.69.1.
- Cleaned up for FE