- instead of path into post used perl_vendorlib macro

- rebuilt will be needed for perl-5.10.1
This commit is contained in:
Marcela Mašláňová 2009-11-12 12:05:42 +00:00
parent f209bba372
commit 52adbf3177

View File

@ -1,7 +1,7 @@
Summary: XML-SAX Perl module Summary: XML-SAX Perl module
Name: perl-XML-SAX Name: perl-XML-SAX
Version: 0.96 Version: 0.96
Release: 6%{?dist} Release: 7%{?dist}
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
@ -59,7 +59,7 @@ rm -rf $RPM_BUILD_ROOT
%post %post
if [ ! -f "/usr/lib/perl5/vendor_perl/5.10.0/XML/SAX/ParserDetails.ini" ] ; then if [ ! -f "%{perl_vendorlib}/XML/SAX/ParserDetails.ini" ] ; then
perl -MXML::SAX -e \ perl -MXML::SAX -e \
'XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()' 2>/dev/null || : 'XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()' 2>/dev/null || :
fi fi
@ -86,6 +86,10 @@ fi
%changelog %changelog
* Thu Nov 12 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.96-7
- instead of path into post used perl_vendorlib macro
- rebuilt will be needed for perl-5.10.1
* Thu Nov 12 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.96-6 * Thu Nov 12 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.96-6
- post scriptlet needs to check whether the file is installed. When it isn't, - post scriptlet needs to check whether the file is installed. When it isn't,
then it's needed call for adding PurePerl parser then it's needed call for adding PurePerl parser