Name: perl-XML-Merge Version: 1.4 Release: 19%{?dist} Summary: Flexibly merge XML documents License: GPLv3 URL: https://metacpan.org/release/XML-Merge Source0: https://cpan.metacpan.org/authors/id/P/PI/PIP/XML-Merge-%{version}.tgz Patch1: perl-XML-Merge-1.4-makefile.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(XML::Tidy) # Tests: BuildRequires: perl(Test) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(XML::XPath) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module inherits from XML::Tidy which in turn inherits from XML::XPath. This ensures that Merge objects' indenting can be tidied up after any merge operation since such modification usually spells the ruination of indentation. Polymorphism allows Merge objects to be utilized as normal XML::XPath objects as well. The merging behavior is setup to combine separate XML documents according to certain rules and configurable options. If both documents have root nodes which are elements of the same name, the documents are merged directly. Otherwise, one is merged as a child of the other. An optional XPath location can be specified as the place to perform the merge. If no location is specified, the merge is attempted at the first matching element or is appended as the new last child of the other root if no match is found. %prep %setup -q -n XML-Merge-%{version} %patch1 -p0 %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$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 ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %files %doc README %license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/XML::Merge.3pm.gz %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.4-18 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 1.4-15 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.4-12 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.4-9 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 1.4-6 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 1.4-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jul 25 2016 Xavier Bachelot - 1.4-1 - Update to 1.4. - Clean up spec. - Change License: to GPLv3. - Add BR: for better test coverage. * Mon May 16 2016 Jitka Plesnikova - 1.2.565EgGd-24 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.2.565EgGd-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Oct 14 2015 Petr Pisar - 1.2.565EgGd-22 - Specify all dependencies * Fri Sep 04 2015 Petr Pisar - 1.2.565EgGd-21 - Fix XML::Merge::VERSION value (bug #1260125) * Thu Jun 18 2015 Fedora Release Engineering - 1.2.565EgGd-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.2.565EgGd-19 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 1.2.565EgGd-18 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.2.565EgGd-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.2.565EgGd-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jul 26 2013 Petr Pisar - 1.2.565EgGd-15 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.2.565EgGd-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.2.565EgGd-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 16 2012 Petr Pisar - 1.2.565EgGd-12 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.2.565EgGd-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 20 2011 Petr Sabata - 1.2.565EgGd-10 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.2.565EgGd-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 23 2010 Marcela Maslanova - 1.2.565EgGd-8 - 661697 rebuild for fixing problems with vendorach/lib * Fri May 07 2010 Marcela Maslanova - 1.2.565EgGd-7 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.2.565EgGd-6 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 1.2.565EgGd-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.2.565EgGd-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway - 1.2.565EgGd-3 Rebuild for new perl * Sat Dec 22 2007 Xavier Bachelot - 1.2.565EgGd-2 - Clean up spec. * Thu Aug 30 2007 Xavier Bachelot - 1.2.565EgGd-1 - Initial build.