]> git.pld-linux.org Git - packages/perl-XML-SAX-ExpatXS.git/commitdiff
- updated to 1.31 auto/th/perl-XML-SAX-ExpatXS-1_31-1
authoramateja <amateja@pld-linux.org>
Thu, 8 Oct 2009 12:15:47 +0000 (12:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-XML-SAX-ExpatXS.spec -> 1.12

perl-XML-SAX-ExpatXS.spec

index eb209c4844afb159ccd5dacd76a6a93132d98725..791465aeac704f7ef238917551cdd5a92493b283 100644 (file)
@@ -8,17 +8,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
@@ -35,14 +36,14 @@ Expat. Implementuje interfejs Perla SAX 2.1.
 %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}
 
@@ -67,7 +68,7 @@ fi
 
 %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
This page took 0.072734 seconds and 4 git commands to generate.