packages: perl-XML-SAX-ExpatXS/perl-XML-SAX-ExpatXS.spec - updated to 1.31

amateja amateja at pld-linux.org
Thu Oct 8 14:15:52 CEST 2009


Author: amateja                      Date: Thu Oct  8 12:15:52 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.31

---- Files affected:
packages/perl-XML-SAX-ExpatXS:
   perl-XML-SAX-ExpatXS.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/perl-XML-SAX-ExpatXS/perl-XML-SAX-ExpatXS.spec
diff -u packages/perl-XML-SAX-ExpatXS/perl-XML-SAX-ExpatXS.spec:1.11 packages/perl-XML-SAX-ExpatXS/perl-XML-SAX-ExpatXS.spec:1.12
--- packages/perl-XML-SAX-ExpatXS/perl-XML-SAX-ExpatXS.spec:1.11	Tue Mar 25 22:03:44 2008
+++ packages/perl-XML-SAX-ExpatXS/perl-XML-SAX-ExpatXS.spec	Thu Oct  8 14:15:47 2009
@@ -9,17 +9,18 @@
 Summary:	XML::SAX::ExpatXS - Perl SAX 2 XS extension to Expat parser
 Summary(pl.UTF-8):	XML::SAX::ExpatXS - rozszerzenie XS Perla SAX 2 do analizatora Expat
 Name:		perl-XML-SAX-ExpatXS
-Version:	1.20
-Release:	3
+Version:	1.31
+Release:	1
 # 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:	fb6592f799316c588202f54a845ebbff
+# Source0-md5:	2cce0e44f98305a5085e3648b8119667
+Patch0:		%{name}-Makefile.PL.patch
 URL:		http://search.cpan.org/dist/XML-SAX-ExpatXS/
 BuildRequires:	expat-devel
 %if %{with tests}
-BuildRequires:	perl-XML-SAX >= 0.12
+BuildRequires:	perl-XML-SAX >= 0.13
 %endif
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -36,14 +37,14 @@
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
-# we want to add_parser in post, not on make install
-head -n 98 Makefile.PL > Makefile.PL.tmp
-mv -f Makefile.PL.tmp Makefile.PL
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
 
@@ -68,7 +69,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc Changes
+%doc Changes README
 %{perl_vendorarch}/XML/SAX/*
 %dir %{perl_vendorarch}/XML/SAX
 %dir %{perl_vendorarch}/auto/XML/SAX
@@ -77,12 +78,15 @@
 %{perl_vendorarch}/auto/XML/SAX/ExpatXS/*.bs
 %{_mandir}/man3/*
 
-%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2009/10/08 12:15:47  amateja
+- updated to 1.31
+
 Revision 1.11  2008/03/25 21:03:44  qboosh
 - generic URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-XML-SAX-ExpatXS/perl-XML-SAX-ExpatXS.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list