]> git.pld-linux.org Git - packages/perl-XML-SAX-ExpatXS.git/blobdiff - perl-XML-SAX-ExpatXS.spec
- rebuild with perl 5.26
[packages/perl-XML-SAX-ExpatXS.git] / perl-XML-SAX-ExpatXS.spec
index 1e304e6c9dd56259df8d01ec0aa4a2bbd6109a94..3d56cc95de1bff8f73dacd945e78c72da5af8391 100644 (file)
@@ -8,16 +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:       2
+Version:       1.32
+Release:       9
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: fb6592f799316c588202f54a845ebbff
+Source0:       http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: f895b4be6b1b5f81366955cdd7ac5724
+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
@@ -34,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}
 
@@ -66,11 +68,10 @@ 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
 %dir %{perl_vendorarch}/auto/XML/SAX/ExpatXS
 %attr(755,root,root) %{perl_vendorarch}/auto/XML/SAX/ExpatXS/*.so
-%{perl_vendorarch}/auto/XML/SAX/ExpatXS/*.bs
 %{_mandir}/man3/*
This page took 2.905995 seconds and 4 git commands to generate.