Name: perl-XML-SAX-ExpatXS
Version: 1.33
Release: 34%{?dist}
Summary: Perl SAX 2 XS extension to Expat parser
License: GPL+ or Artistic
URL: https://metacpan.org/release/XML-SAX-ExpatXS
Source0: https://cpan.metacpan.org/authors/id/P/PC/PCIMPRICH/XML-SAX-ExpatXS-%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: expat-devel
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::Liblist)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Run-time:
BuildRequires: perl(:VERSION) >= 5.4.0
BuildRequires: perl(Carp)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(IO::File)
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(XML::SAX) >= 0.96
BuildRequires: perl(XML::SAX::Base)
# Tests:
BuildRequires: perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(XML::SAX) >= 0.96
%description
XML::SAX::ExpatXS is a direct XS extension to Expat XML parser. It implements
Perl SAX 2.1 interface .
%prep
%setup -q -n XML-SAX-ExpatXS-%{version}
chmod -x ExpatXS.xs
%build
echo n | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
%{make_build}
%install
%{make_install}
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%triggerin -- perl-XML-SAX
%{_bindir}/perl -MXML::SAX -e \
'XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers()' 2>/dev/null || :
%preun
if [ $1 -eq 0 ]; then
%{_bindir}/perl -MXML::SAX -e \
'XML::SAX->remove_parser(q(XML::SAX::ExpatXS))->save_parsers()' \
2>/dev/null || :
fi
%files
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/XML*
%{_mandir}/man3/*
%changelog
* Fri Jul 22 2022 Fedora Release Engineering - 1.33-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova - 1.33-33
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering - 1.33-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering - 1.33-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova - 1.33-30
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering - 1.33-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 14 2021 Petr Pisar - 1.33-28
- Modernize a spec file
* Tue Jul 28 2020 Fedora Release Engineering - 1.33-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova - 1.33-26
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering - 1.33-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering - 1.33-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova - 1.33-23
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering - 1.33-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 1.33-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova - 1.33-20
- Perl 5.28 rebuild
* Fri Feb 09 2018 Fedora Release Engineering - 1.33-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering - 1.33-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 1.33-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova - 1.33-16
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering - 1.33-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Jitka Plesnikova - 1.33-14
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering - 1.33-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering - 1.33-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova - 1.33-11
- Perl 5.22 rebuild
* Thu Aug 28 2014 Jitka Plesnikova - 1.33-10
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering - 1.33-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 1.33-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering - 1.33-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jul 24 2013 Petr Pisar - 1.33-6
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering - 1.33-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Dec 31 2012 Ville Skyttä - 1.33-4
- Register/unregister XML::SAX parser properly
* Sun Dec 30 2012 Miro Hrončok - 1.33-3
- PERL_INSTALL_ROOT changed to DESTDIR
- Removed the deleting empty directories
- Added removed BRs back
* Fri Nov 16 2012 Miro Hrončok - 1.33-2
- Removed BRs provided by perl package
* Wed Nov 14 2012 Miro Hrončok 1.33-1
- Specfile autogenerated by cpanspec 1.78 and revised.