]> git.pld-linux.org Git - packages/perl-XML-LibXSLT.git/blobdiff - perl-XML-LibXSLT.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-XML-LibXSLT.git] / perl-XML-LibXSLT.spec
index 93df18c2998e7c21980fe5e063f5703bdfc06708..d63d6ec2d284c72465f8f71532cb738f3e670db6 100644 (file)
@@ -2,26 +2,31 @@
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
 #
-%include       /usr/lib/rpm/macros.perl
 %define                pdir    XML
 %define                pnam    LibXSLT
 Summary:       XML::LibXSLT - interface to the GNOME libxslt library
 Summary(pl.UTF-8):     XML::LibXSLT - interfejs do biblioteki libxslt z GNOME
 Name:          perl-XML-LibXSLT
-Version:       1.70
-Release:       2
+Version:       1.96
+Release:       3
 # 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: c63a7913999de076e5c911810f69b392
+# Source0-md5: 700d493b72f99788d428cc9756bef165
 URL:           http://search.cpan.org/dist/XML-LibXSLT/
-BuildRequires: libxslt-devel >= 1.0.6
-BuildRequires: perl-XML-LibXML >= 1.60
-BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: libxslt-devel >= 1.1.28
+BuildRequires: perl-XML-LibXML >= 1.75
+BuildRequires: perl-devel >= 1:5.8.1
+BuildRequires: pkgconfig
 BuildRequires: rpm-perlprov >= 4.1-13
-Requires:      libxslt >= 1.0.6
-Requires:      perl-XML-LibXML >= 1.57
+%if %{with tests}
+%if "%(perl -MXML::LibXML -e 'print XML::LibXML::LIBXML_VERSION == XML::LibXML::LIBXML_RUNTIME_VERSION || 0' 2>/dev/null)" == "0"
+BuildRequires: REBUILD-perl-XML-LibXML
+%endif
+%endif
+Requires:      libxslt >= 1.1.28
+Requires:      perl-XML-LibXML >= 1.70
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -60,11 +65,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README
+%doc Changes LICENSE README
 %{perl_vendorarch}/XML/LibXSLT.pm
-%{perl_vendorarch}/XML/benchmark.pl
 %dir %{perl_vendorarch}/auto/XML/LibXSLT
-%{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/XML/LibXSLT/LibXSLT.so
-%{_mandir}/man3/*
+%{_mandir}/man3/XML::LibXSLT.3pm*
 %{_examplesdir}/%{name}-%{version}
This page took 0.102409 seconds and 4 git commands to generate.