[perl-XML-Parser] - update
Marcela Mašláňová
mmaslano at fedoraproject.org
Tue Sep 21 13:27:55 UTC 2010
commit 0f0d6c24394f7a9fd8f344c8aae45b5ffdea1c0c
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Tue Sep 21 15:27:38 2010 +0200
- update
.gitignore | 1 +
perl-XML-Parser.spec | 15 ++++++++++++---
sources | 2 +-
3 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e2b11c8..56af6fe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
XML-Parser-2.36.tar.gz
+/XML-Parser-2.40.tar.gz
diff --git a/perl-XML-Parser.spec b/perl-XML-Parser.spec
index 5db2044..e547b5f 100644
--- a/perl-XML-Parser.spec
+++ b/perl-XML-Parser.spec
@@ -1,12 +1,12 @@
Name: perl-XML-Parser
-Version: 2.36
-Release: 9%{?dist}
+Version: 2.40
+Release: 1%{?dist}
Summary: Perl module for parsing XML files
Group: Development/Libraries
License: GPL+ or Artistic
Url: http://search.cpan.org/dist/XML-Parser/
-Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-%{version}.tar.gz
+Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/XML-Parser-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -27,12 +27,18 @@ parse call. They can also be given as extra arguments to the parse
methods, in which case they override options given at XML::Parser
creation time.
+%{?perl_default_filter}
%prep
%setup -q -n XML-Parser-%{version}
chmod 644 samples/{canonical,xml*}
%{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' samples/{canonical,xml*}
+%{?filter_setup:
+%filter_from_provides /perl(XML::Parser)$/d
+%?perl_default_filter
+}
+
%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
@@ -66,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Sep 21 2010 Marcela Mašláňová <mmaslano at redhat.com> - 2.40-1
+- update
+
* Fri May 07 2010 Marcela Maslanova <mmaslano at redhat.com> - 2.36-9
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 911c95a..7e6d859 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b868962b658bd87e1563ecd56498ded XML-Parser-2.36.tar.gz
+c66e9adba003d0667cc40115ccd837a5 XML-Parser-2.40.tar.gz
More information about the scm-commits
mailing list