- update
This commit is contained in:
parent
fc887ea51a
commit
0f0d6c2439
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
XML-Parser-2.36.tar.gz
|
||||
/XML-Parser-2.40.tar.gz
|
||||
|
@ -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@redhat.com> - 2.40-1
|
||||
- update
|
||||
|
||||
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.36-9
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user