diff --git a/perl-XML-Parser.spec b/perl-XML-Parser.spec index 6f4bf7f..a14384d 100644 --- a/perl-XML-Parser.spec +++ b/perl-XML-Parser.spec @@ -1,6 +1,6 @@ Name: perl-XML-Parser Version: 2.34 -Release: 8 +Release: 9 Summary: A low level Perl module for parsing XML either via trees or streaming Group: Development/Libraries @@ -9,7 +9,7 @@ Url: http://search.cpan.org/dist/XML-Parser/ Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: perl >= 2:5.8.0, perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: expat-devel # The script LWPExternEnt.pl is loaded by Parser.pm BuildRequires: perl(LWP), perl(URI) @@ -45,6 +45,11 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* +for file in samples/REC-xml-19980210.xml; do + iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_" + mv -f "${file}_" "$file" +done + %check make test @@ -61,6 +66,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Oct 23 2007 Robin Norwood 2.34-9 +- Remove BR: perl +- fix utf-8 rpmlint warning + * Tue Aug 28 2007 Robin Norwood - 2.34-8 - Update license tag - Add README Changes samples/ to %%doc section