diff --git a/perl-XML-Parser.spec b/perl-XML-Parser.spec index db7b499..59ef701 100644 --- a/perl-XML-Parser.spec +++ b/perl-XML-Parser.spec @@ -25,6 +25,7 @@ License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/XML-Parser/ Source: http://www.cpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz +Patch0: XML-Parser-2.40.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros @@ -55,6 +56,7 @@ the _Expat_ object, not the Parser object. %prep %setup -q -n %{cpan_name}-%{version} +%patch0 find . -type f -print0 | xargs -0 chmod 644 %build