Blame SPECS/perl-XML-Parser.spec

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