Name: perl-Makefile-DOM Version: 0.008 Release: 24%{?dist} Summary: Simple DOM parser for Makefiles License: GPL+ or Artistic URL: https://metacpan.org/release/Makefile-DOM Source0: https://cpan.metacpan.org/authors/id/A/AG/AGENT/Makefile-DOM-%{version}.tar.gz # Adjust to List-Moreutils-0.418, bug #1437790, CPAN RT#120809 Patch0: Makefile-DOM-0.008-Do-not-use-_-in-a-List-Moreutils-any-code-argument.patch BuildArch: noarch # Build BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(CPAN) BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::MM_Unix) BuildRequires: perl(Fcntl) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(strict) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Runtime BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Clone) >= 0.18 BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(List::MoreUtils) >= 0.21 BuildRequires: perl(List::Util) BuildRequires: perl(overload) BuildRequires: perl(Params::Util) >= 0.22 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Text::Balanced) # Tests only BuildRequires: perl(File::Temp) BuildRequires: perl(Filter::Util::Call) BuildRequires: perl(FindBin) BuildRequires: perl(IPC::Run3) BuildRequires: perl(threads::shared) BuildRequires: perl(Time::HiRes) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Clone) >= 0.18 Requires: perl(List::MoreUtils) >= 0.21 Requires: perl(Params::Util) >= 0.22 # Filter under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Clone|List::MoreUtil|Params::Util)\\) %description This libary can serve as an advanced lexer for (GNU) makefiles. It parses makefiles as "documents" and the parsing is lossless. The results are data structures similar to DOM trees. The DOM trees hold every single bit of the information in the original input files, including white spaces, blank lines and makefile comments. That means it's possible to reproduce the original makefiles from the DOM trees. In addition, each node of the DOM trees is modifiable and so is the whole tree, just like the PPI module used for Perl source parsing and the HTML::TreeBuilder module used for parsing HTML source. %prep %setup -q -n Makefile-DOM-%{version} %patch0 -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.008-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.008-23 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.008-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.008-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.008-20 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.008-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.008-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.008-17 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.008-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.008-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.008-14 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.008-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.008-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.008-11 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.008-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.008-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 0.008-8 - Perl 5.26 rebuild * Fri Apr 21 2017 Petr Pisar - 0.008-7 - Adjust to List-Moreutils-0.418 (bug #1437790) * Sat Feb 11 2017 Fedora Release Engineering - 0.008-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.008-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.008-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.008-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.008-2 - Perl 5.22 rebuild * Fri Nov 21 2014 Petr Šabata - 0.008-1 - 0.008 bump * Fri Aug 29 2014 Jitka Plesnikova - 0.006-11 - Perl 5.20 rebuild * Fri Aug 29 2014 Petr Pisar - 0.006-10 - Specify all dependencies (bug #1134289) * Fri Aug 29 2014 Jitka Plesnikova - 0.006-9 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.006-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.006-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Aug 02 2013 Petr Pisar - 0.006-6 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.006-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.006-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 19 2012 Petr Pisar - 0.006-3 - Perl 5.16 rebuild - Do not run POD tests - Specify all dependencies * Fri Jan 13 2012 Fedora Release Engineering - 0.006-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Aug 29 2011 Petr Sabata - 0.006-1 - 0.006 bump * Thu Aug 18 2011 Petr Sabata - 0.005-1 - 0.005 bump - Removing now obsolete Buildroot and defattr - Useless Requires and Provides removed - Changelog corrected (whitespace) * Tue Jun 21 2011 Marcela Mašláňová - 0.004-7 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.004-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 0.004-5 - 661697 rebuild for fixing problems with vendorach/lib * Mon May 03 2010 Marcela Maslanova - 0.004-4 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.004-3 - rebuild against perl 5.10.1 * Tue Sep 08 2009 Ryan Lerch 0.004-2 - Added BuildRequires and Provides lines to the specfile, as per the Fedora Perl Packaging Guidelines. * Mon Sep 07 2009 Ryan Lerch 0.004-1 - Specfile autogenerated by cpanspec 1.78.