Name: perl-XML-DTDParser Version: 2.01 Release: 33%{?dist} Summary: Quick and dirty DTD parser License: GPL+ or Artistic URL: https://metacpan.org/release/XML-DTDParser Source0: https://cpan.metacpan.org/authors/id/J/JE/JENDA/XML-DTDParser-%{version}.tar.gz BuildArch: noarch # build requirements BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # module requirements BuildRequires: perl(Cwd) BuildRequires: perl(Exporter) BuildRequires: perl(File::Spec) BuildRequires: perl(FileHandle) # test requirements # Data::Compare is optional and would need to be dropped for epel BuildRequires: perl(Data::Compare) BuildRequires: perl(Test) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module parses a DTD file and creates a data structure containing info about all tags, their allowed parameters, children, parents, optionality, and others. %prep %setup -q -n XML-DTDParser-%{version} %{__sed} -i 's/\r//' README %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %{perl_vendorlib}/XML/ %{_mandir}/man3/XML::DTDParser.3pm* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 2.01-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 2.01-32 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.01-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 2.01-30 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 2.01-29 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.01-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.01-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 2.01-26 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 2.01-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.01-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 2.01-23 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.01-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 2.01-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 2.01-20 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 2.01-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.01-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 2.01-17 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.01-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 2.01-15 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.01-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 2.01-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 2.01-12 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 2.01-11 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.01-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Petr Pisar - 2.01-9 - Perl 5.18 rebuild * Sun Aug 04 2013 Fedora Release Engineering - 2.01-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.01-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 2.01-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 16 2012 Petr Pisar - 2.01-5 - Perl 5.16 rebuild * Mon Apr 9 2012 Bill Pemberton - 2.01-4 - change files section to list just XML directory * Wed Feb 22 2012 Bill Pemberton - 2.01-3 - list files explictly - use DESTDIR instead of RPM_INSTALL_ROOT on install - add comments about why the various BuildRequires are there * Mon Feb 20 2012 Bill Pemberton - 2.01-2 - Only fix line endings on README - Add a few BuildRequires * Thu Feb 16 2012 Bill Pemberton 2.01-1 - Initial spec