]> git.pld-linux.org Git - packages/perl-XML-Parser.git/blobdiff - perl-XML-Parser.spec
- updated URL
[packages/perl-XML-Parser.git] / perl-XML-Parser.spec
index 42ca0beaa9de13a0ff2b4d34bde086b9e4c8457b..fc7a95df6399d4823f63972d89f421c676014e2d 100644 (file)
@@ -1,8 +1,7 @@
 #
 # Conditional build:
-%bcond_without tests   # do not perform "make test"
+%bcond_without tests   # unit tests
 #
-%include       /usr/lib/rpm/macros.perl
 %define                pdir    XML
 %define                pnam    Parser
 Summary:       XML::Parser - A Perl module for parsing XML documents
@@ -20,20 +19,21 @@ Summary(pt.UTF-8):  XML::Parser - Um módulo de Perl para analisar documentos em
 Summary(sv.UTF-8):     XML::Parser - En perl-modul för att tolka XML-dokument
 Summary(zh_CN.UTF-8):  用来解析 XML 文档 的 Perl 模块。
 Name:          perl-XML-Parser
-Version:       2.41
+Version:       2.46
 Release:       6
 # 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: c320d2ffa459e6cdc6f9f59c1185855e
+# Source0-md5: 80bb18a8e6240fcf7ec2f7b57601c170
 Patch0:                %{name}-paths.patch
-URL:           http://search.cpan.org/dist/XML-Parser/
+URL:           https://metacpan.org/dist/XML-Parser
 BuildRequires: expat-devel
 BuildRequires: perl-URI
 BuildRequires: perl-devel >= 1:5.8.0
 %{?with_tests:BuildRequires:   perl-libwww}
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -80,7 +80,7 @@ XML::Parser - En perl-modul för att tolka XML-dokument.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p0
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
This page took 0.21247 seconds and 4 git commands to generate.