- 478905 fix scriptlets

This commit is contained in:
Marcela Mašláňová 2009-04-28 13:14:47 +00:00
parent 09c437be55
commit 53d7020a86

View File

@ -1,7 +1,7 @@
Summary: XML-SAX Perl module
Name: perl-XML-SAX
Version: 0.96
Release: 2%{?dist}
Release: 3%{?dist}
Group: Development/Libraries
License: GPL+ or Artistic
@ -81,12 +81,12 @@ rm -rf $RPM_BUILD_ROOT
%post
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 || :
%preun
if [ $1 -eq 0 ]; then
perl -MXML::SAX -e \
'XML::SAX->remove_parser(q(XML::SAX::PurePerl))->save_parsers()'
'XML::SAX->remove_parser(q(XML::SAX::PurePerl))->save_parsers()' || :
fi
@ -105,6 +105,9 @@ fi
%changelog
* Tue Apr 28 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.96-3
- 478905 fix scriptlets
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild