packages: perl-XML-SAX-Expat/perl-XML-SAX-Expat.spec - perl may be missing ...
glen
glen at pld-linux.org
Sun Nov 21 21:31:07 CET 2010
Author: glen Date: Sun Nov 21 20:31:07 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- perl may be missing on postun on perl removal
---- Files affected:
packages/perl-XML-SAX-Expat:
perl-XML-SAX-Expat.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/perl-XML-SAX-Expat/perl-XML-SAX-Expat.spec
diff -u packages/perl-XML-SAX-Expat/perl-XML-SAX-Expat.spec:1.9 packages/perl-XML-SAX-Expat/perl-XML-SAX-Expat.spec:1.10
--- packages/perl-XML-SAX-Expat/perl-XML-SAX-Expat.spec:1.9 Fri Oct 16 12:05:37 2009
+++ packages/perl-XML-SAX-Expat/perl-XML-SAX-Expat.spec Sun Nov 21 21:31:02 2010
@@ -2,7 +2,7 @@
#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
+
%include /usr/lib/rpm/macros.perl
%define pdir XML
%define pnam SAX-Expat
@@ -10,17 +10,17 @@
Summary(pl.UTF-8): XML::SAX::Expat - sterownik SAX2 dla modułu Expat (XML::Parser)
Name: perl-XML-SAX-Expat
Version: 0.40
-Release: 1
+Release: 2
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: ca58d1e26c437b31c52456b4b4ae5c4a
URL: http://search.cpan.org/dist/XML-SAX-Expat/
+BuildRequires: perl(XML::SAX::Base) >= 1.00
BuildRequires: perl-XML-NamespaceSupport >= 0.03
BuildRequires: perl-XML-Parser >= 2.27
BuildRequires: perl-XML-SAX >= 0.03
-BuildRequires: perl(XML::SAX::Base) >= 1.00
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
@@ -62,7 +62,7 @@
%{__perl} -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"
%postun
-if [ "$1" = "0" ]; then
+if [ "$1" = "0" ] && [ -x %{__perl} ]; then
umask 022
%{__perl} -MXML::SAX -e "XML::SAX->remove_parser(q(XML::SAX::Expat))->save_parsers()"
fi
@@ -79,6 +79,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2010/11/21 20:31:02 glen
+- perl may be missing on postun on perl removal
+
Revision 1.9 2009/10/16 10:05:37 amateja
- updated to 0.40
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-XML-SAX-Expat/perl-XML-SAX-Expat.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list