Blame SPECS/perl-XML-Parser.spec

aae947
Name:           perl-XML-Parser
aae947
Version:        2.44
aae947
Release:        11%{?dist}
aae947
Summary:        Perl module for parsing XML documents
aae947
aae947
Group:          Development/Libraries
aae947
License:        GPL+ or Artistic
aae947
Url:            http://search.cpan.org/dist/XML-Parser/
aae947
Source0:        http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-%{version}.tar.gz
aae947
# Fix a buffer overwrite in parse_stream() with wide characters on the standard
aae947
# input, bug #1658512, CPAN RT#128006
aae947
Patch0:         XML-Parser-2.44_01-Fix-a-buffer-overwrite-in-parse_stream.patch
aae947
aae947
BuildRequires:  perl-devel
aae947
BuildRequires:  perl-generators
aae947
BuildRequires:  perl(Carp)
aae947
BuildRequires:  perl(Config)
aae947
BuildRequires:  perl(Devel::CheckLib)
aae947
BuildRequires:  perl(ExtUtils::MakeMaker)
aae947
BuildRequires:  perl(FileHandle)
aae947
BuildRequires:  perl(if)
aae947
BuildRequires:  perl(IO::File)
aae947
BuildRequires:  perl(IO::Handle)
aae947
BuildRequires:  perl(lib)
aae947
BuildRequires:  perl(strict)
aae947
BuildRequires:  perl(Test)
aae947
BuildRequires:  perl(Test::More)
aae947
BuildRequires:  perl(vars)
aae947
BuildRequires:  perl(warnings)
aae947
BuildRequires:  expat-devel
aae947
# The script LWPExternEnt.pl is loaded by Parser.pm
aae947
BuildRequires:  perl(LWP::UserAgent)
aae947
BuildRequires:  perl(URI)
aae947
BuildRequires:  perl(URI::file)
aae947
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
aae947
Requires:       perl(IO::File)
aae947
Requires:       perl(IO::Handle)
aae947
aae947
aae947
%{?perl_default_filter}
aae947
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(XML::Parser\\)$
aae947
aae947
%description
aae947
This module provides ways to parse XML documents. It is built on top
aae947
of XML::Parser::Expat, which is a lower level interface to James
aae947
Clark's expat library. Each call to one of the parsing methods creates
aae947
a new instance of XML::Parser::Expat which is then used to parse the
aae947
document. Expat options may be provided when the XML::Parser object is
aae947
created. These options are then passed on to the Expat object on each
aae947
parse call. They can also be given as extra arguments to the parse
aae947
methods, in which case they override options given at XML::Parser
aae947
creation time.
aae947
aae947
%prep
aae947
%setup -q -n XML-Parser-%{version} 
aae947
%patch0 -p1
aae947
chmod 644 samples/{canonical,xml*}
aae947
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' samples/{canonical,xml*}
aae947
aae947
# Remove bundled library
aae947
rm -r inc
aae947
sed -i -e '/^inc\// d' MANIFEST
aae947
aae947
%build
aae947
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
aae947
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
aae947
aae947
%install
aae947
make pure_install DESTDIR=$RPM_BUILD_ROOT
aae947
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
aae947
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
aae947
chmod -R u+w $RPM_BUILD_ROOT/*
aae947
aae947
for file in samples/REC-xml-19980210.xml; do
aae947
  iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_"
aae947
  mv -f "${file}_" "$file"
aae947
  sed -i -e "s/encoding='ISO-8859-1'/encoding='UTF-8'/" "$file"
aae947
done
aae947
aae947
%check
aae947
make test
aae947
aae947
%files
aae947
%doc README Changes samples/
aae947
%{perl_vendorarch}/XML/
aae947
%{perl_vendorarch}/auto/XML/
aae947
%{_mandir}/man3/*.3*
aae947
aae947
aae947
%changelog
aae947
* Thu Dec 13 2018 Petr Pisar <ppisar@redhat.com> - 2.44-11
aae947
- Fix a buffer overwrite in parse_stream() with wide characters on the standard
aae947
  input (bug #1658512)
aae947
aae947
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.44-10
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
aae947
aae947
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.44-9
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
aae947
aae947
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.44-8
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
aae947
aae947
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.44-7
aae947
- Perl 5.26 rebuild
aae947
aae947
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.44-6
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
aae947
aae947
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.44-5
aae947
- Perl 5.24 rebuild
aae947
aae947
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.44-4
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
aae947
aae947
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44-3
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
aae947
aae947
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.44-2
aae947
- Perl 5.22 rebuild
aae947
aae947
* Tue Feb 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.44-1
aae947
- 2.44 bump
aae947
aae947
* Thu Dec 11 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.43-1
aae947
- 2.43 bump
aae947
- Updated BRs; Removed bundled Devel::CheckLib
aae947
aae947
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.41-14
aae947
- Perl 5.20 rebuild
aae947
aae947
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-13
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
aae947
aae947
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-12
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aae947
aae947
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-11
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
aae947
aae947
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 2.41-10
aae947
- Perl 5.18 rebuild
aae947
aae947
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-9
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
aae947
aae947
* Thu Nov 22 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.41-8
aae947
- Update dependencies and summary
aae947
- Remove pre-RPM-4.9 filters
aae947
- Remove deleting empty directories
aae947
- Update REC-xml-19980210.xml to match new encoding
aae947
aae947
* Mon Aug 27 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.41-7
aae947
- Specify all dependencies.
aae947
- Remove perl(LWP) and perl(URI) from Requires. 
aae947
- Update source link. 
aae947
aae947
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-6
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aae947
aae947
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 2.41-5
aae947
- Perl 5.16 rebuild
aae947
aae947
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-4
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
aae947
aae947
* Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 2.41-3
aae947
- update filtering for rpm 4.9
aae947
aae947
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 2.41-2
aae947
- Perl mass rebuild
aae947
aae947
* Fri Jun  3 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.41-1
aae947
- update 2.41
aae947
- clean spec from rm, clean, deffattr
aae947
aae947
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.40-3
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aae947
aae947
* Wed Sep 29 2010 jkeating - 2.40-2
aae947
- Rebuilt for gcc bug 634757
aae947
aae947
* Tue Sep 21 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.40-1
aae947
- update 
aae947
aae947
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.36-9
aae947
- Mass rebuild with perl-5.12.0
aae947
aae947
* Tue Feb  9 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.36-8
aae947
- rebuild with expat-2.0.1-10 which should fix tests part #549216, #555457
aae947
aae947
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.36-7
aae947
- rebuild against perl 5.10.1
aae947
aae947
* Mon Aug 24 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-6
aae947
- rebuild against perl without DEBUGGING defined
aae947
aae947
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.36-5
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
aae947
aae947
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.36-4
aae947
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
aae947
aae947
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-3
aae947
- Rebuild for perl 5.10 (again)
aae947
aae947
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.36-2
aae947
- Autorebuild for GCC 4.3
aae947
aae947
* Sun Jan 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-1
aae947
- bump to 2.36
aae947
aae947
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.34-11
aae947
- rebuild for new perl
aae947
aae947
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.34-10
aae947
- Add dist tag to release field
aae947
- Fix previous changelog
aae947
aae947
* Tue Oct 23 2007 Robin Norwood <rnorwood@redhat.com> - 2.34-9
aae947
- Remove BR: perl
aae947
- fix utf-8 rpmlint warning
aae947
aae947
* Tue Aug 28 2007 Robin Norwood <rnorwood@redhat.com> - 2.34-8
aae947
- Update license tag
aae947
- Add README Changes samples/ to %%doc section
aae947
aae947
* Thu Aug  9 2007 Joe Orton <jorton@redhat.com> - 2.34-7
aae947
- BuildRequire perl(ExtUtils::MakeMaker)
aae947
aae947
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.34-6.1.2.2.1
aae947
- rebuild
aae947
aae947
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.34-6.1.2.2
aae947
- bump again for double-long bug on ppc(64)
aae947
aae947
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.34-6.1.2.1
aae947
- rebuilt for new gcc4.1 snapshot and glibc changes
aae947
aae947
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 2.34-6-1.2
aae947
- rebuild for new perl-5.8.8
aae947
aae947
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
aae947
- rebuilt for new gcc
aae947
aae947
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
aae947
- rebuilt for new gcj
aae947
aae947
* Thu Apr 21 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.34-6
aae947
- #155619
aae947
- Bring up to date with current Fedora.Extras perl spec template.
aae947
aae947
* Sun Aug 08 2004 Alan Cox <alan@redhat.com> 2.34-5
aae947
- runtime requires expat
aae947
aae947
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
aae947
- rebuilt
aae947
aae947
* Fri Apr 16 2004 Warren Togami <wtogami@redhat.com> 2.34-3
aae947
- #110597 BR expat-devel
aae947
aae947
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
aae947
- rebuilt
aae947
aae947
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 2.34-1
aae947
- update to 2.34
aae947
aae947
* Mon Jan 26 2004 Jeremy Katz <katzj@redhat.com> 2.31-17
aae947
- more rebuilding
aae947
aae947
* Mon Jan 19 2004 Chip Turner <cturner@redhat.com> 2.31-16
aae947
- rebuild for newer perl
aae947
aae947
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
aae947
- version bump and rebuild
aae947
aae947
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
aae947
- automated release bump and build
aae947
aae947
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
aae947
- description update
aae947
aae947
* Tue Jun  4 2002 Chip Turner <cturner@redhat.com>
aae947
- properly claim directories owned by package so they are removed when
aae947
  package is removed
aae947
aae947
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
aae947
- automated rebuild
aae947
aae947
* Fri Dec 7 2001 root <root@redhat.com>
aae947
- Spec file was autogenerated.